Home | History | Annotate | Download | only in Preprocessor
      1 // RUN: %clang_cc1 -E -C %s | FileCheck -strict-whitespace %s
      2 
      3 // foo
      4 // CHECK: // foo
      5 
      6 /* bar */
      7 // CHECK: /* bar */
      8 
      9 #if FOO
     10 #endif
     11 /* baz */
     12 // CHECK: /* baz */
     13 
     14 _Pragma("unknown") // after unknown pragma
     15 // CHECK: #pragma unknown
     16 // CHECK-NEXT: #
     17 // CHECK-NEXT: // after unknown pragma
     18 
     19 _Pragma("comment(\"abc\")") // after known pragma
     20 // CHECK: #pragma comment("abc")
     21 // CHECK-NEXT: #
     22 // CHECK-NEXT: // after known pragma
     23