diff options
Diffstat (limited to 'gcc-4.8.1/gcc/testsuite/gcc.dg/qual-return-2.c')
-rw-r--r-- | gcc-4.8.1/gcc/testsuite/gcc.dg/qual-return-2.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/gcc-4.8.1/gcc/testsuite/gcc.dg/qual-return-2.c b/gcc-4.8.1/gcc/testsuite/gcc.dg/qual-return-2.c deleted file mode 100644 index 22a1946b0..000000000 --- a/gcc-4.8.1/gcc/testsuite/gcc.dg/qual-return-2.c +++ /dev/null @@ -1,13 +0,0 @@ -/* Test for warnings for qualified function return types. -pedantic test. */ -/* Origin: Joseph Myers <jsm28@cam.ac.uk> */ -/* { dg-do compile } */ -/* { dg-options "-pedantic" } */ - -/* Qualifying a function return type makes no sense. */ - -/* The first two of these shouldn't warn (with just -pedantic) as long - as the function is not defined. */ - -volatile void vvoid_fn (void); -volatile void (*vvoid_ptr) (void); -volatile void vvoid_fn2 (void) { } /* { dg-warning "qualified" "volatile defn" } */ |