diff options
Diffstat (limited to 'gcc-4.8.1/gcc/testsuite/gcc.dg/declspec-14.c')
-rw-r--r-- | gcc-4.8.1/gcc/testsuite/gcc.dg/declspec-14.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/gcc-4.8.1/gcc/testsuite/gcc.dg/declspec-14.c b/gcc-4.8.1/gcc/testsuite/gcc.dg/declspec-14.c deleted file mode 100644 index d8ec78c9c..000000000 --- a/gcc-4.8.1/gcc/testsuite/gcc.dg/declspec-14.c +++ /dev/null @@ -1,11 +0,0 @@ -/* Test that "typeof(struct foo)" and similar as declaration - specifiers act like typedef. */ -/* Origin: Joseph Myers <jsm@polyomino.org.uk> */ -/* { dg-do compile } */ -/* { dg-options "" } */ - -typeof(struct foo); /* { dg-warning "useless type name in empty declaration" } */ - -struct bar { int a; } x; - -typeof(x); /* { dg-warning "useless type name in empty declaration" } */ |