Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / gcc.dg / cpp / trad / funlike-3.c
blob5300afba7087d4d6b8bae11ea4e8e39b5503bc7b
1 /* Test that function-like macros are restricted to directives, and
2 that unterminated ones are warned about. */
4 /* { dg-do preprocess } */
6 #define f(x) x
8 #if 2 f(/* { dg-error "unterminated" "unterminated macro in directive" } */
10 #endif
12 f( /* { dg-error "unterminated" "unterminated macro" } */