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" } */