summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/980626-1.c
blob: 7d8ae834851def4eb4931e5050cc30487448b0d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* { dg-do compile } */
/* { dg-options -Wimplicit-int } */
/* { dg-excess-errors "c-decl.c:grokdeclarator does not handle mode attributes" { xfail *-*-* } } */

int main()
{
  typedef SFtype __attribute__ ((mode (SF)));
  typedef DFtype __attribute__ ((mode (DF)));
  typedef HItype __attribute__ ((mode (HI)));
  typedef SItype __attribute__ ((mode (SI)));
  typedef DItype __attribute__ ((mode (DI)));
  typedef UHItype __attribute__ ((mode (HI)));
  typedef USItype __attribute__ ((mode (SI)));
  typedef UDItype __attribute__ ((mode (DI)));
  return 0;
}