No empty .Rs/.Re
[netbsd-mini2440.git] / gnu / dist / gcc4 / gcc / testsuite / gcc.dg / cpp / pragma-2.c
blob18d540fe9e84889f835a9583803bbfa7dd1726a4
1 /* Verify that preprocessor does not insert redundant newlines
2 after #pragma, also check this for #include, #define and #undef */
3 /* { dg-do compile } */
4 /* { dg-options "-dD" } */
5 #include <stdio.h>
7 #undef unknow_def
9 int main () {
11 #pragma unknown
13 error;
14 /* { dg-error "undeclared" "undeclared-variable message" { target *-*-* } { 13 } } */
15 /* { dg-error "function it appears in" "reminder message" { target *-*-* } { 13 } } */