In gcc/testsuite/: 2011-03-04 Nicola Pero <nicola.pero@meta-innovation.com>
[official-gcc.git] / gcc / testsuite / gcc.dg / Wunknownprag.c
blobc5ba58f767dbc2637913f298449bc81f063d25ea
1 /* Copyright (C) 2002 Free Software Foundation, Inc. */
3 /* { dg-do compile } */
4 /* { dg-options "-Wunknown-pragmas" } */
6 /* We used to get "unspellable token: CPP_EOF" warnings. */
8 #pragma /* { dg-warning "ignoring #pragma" } */
9 #pragma ~ /* { dg-warning "ignoring #pragma" } */
10 #pragma baz /* { dg-warning "ignoring #pragma" } */
11 #pragma baz baz /* { dg-warning "ignoring #pragma" } */