blob: 84eaed0a2272f6440c33bb63f73df56f490238e0 [file] [log] [blame]
// RUN: %clang_cc1 -E -C %s | FileCheck -strict-whitespace %s
// RUN: %clang_cc1 -E -C -fminimize-whitespace %s | FileCheck -strict-whitespace %s
// foo
// CHECK: // foo
/* bar */
// CHECK: /* bar */
#if FOO
#endif
/* baz */
// CHECK: /* baz */
_Pragma("unknown") // after unknown pragma
// CHECK: #pragma unknown
// CHECK-NEXT: #
// CHECK-NEXT: // after unknown pragma
_Pragma("comment(\"abc\")") // after known pragma
// CHECK: #pragma comment("abc")
// CHECK-NEXT: #
// CHECK-NEXT: // after known pragma