1 // RUN: %clang_cc1 -E -std=c++11 %s -o - | FileCheck -strict-whitespace %s
6 // This should print as ".. ." to avoid turning into ...
21 D
: +PLUS
-EMPTY
- PLUS
+ f(=)
22 // CHECK: D: + + - - + + = = =
27 // Should expand to L "str" not L"str"
30 // Should avoid producing >>=.
35 // Make sure we don't introduce spaces in the guid because we try to avoid
36 // pasting '-' to a numeric constant.
37 #define TYPEDEF(guid) typedef [uuid(guid)]
38 TYPEDEF(66504301-BE0F
-101A
-8BBB
-00AA00300CAB
) long OLE_COLOR
;
39 // CHECK: typedef [uuid(66504301-BE0F-101A-8BBB-00AA00300CAB)] long OLE_COLOR;
41 // Be careful with UD-suffixes.
42 #define StrSuffix() "abc"_suffix
43 #define IntSuffix() 123_suffix
46 // CHECK: UD: "abc"_suffix ident
47 // CHECK: UD: 123_suffix ident