1 /* Darwin (Mac OS X) pragma exercises. */
2
3 /* { dg-do compile { target *-*-darwin* } } */
4
5 /* The mark pragma is valid at any point in the program. Fortunately
6 the compiler only needs to ignore it. It's also followed only
7 by pp-tokens, not necessarily real C tokens. */
8
9 void foo(void)
10 {
11 if (1) {
12 ;
13 }
14 else if (1) {
15 ;
16 }
17 #pragma mark "last case" "hi"
18 else if (1) {
19 ;
20 }
21 }
22
23 #pragma mark 802.11x 1_2_3
24 #pragma mark •••• marker ••••