You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
428 B
23 lines
428 B
// RUN: %clang_cc1 -E -C %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
|