Home | History | Annotate | Download | only in Lexer
      1 // RUN: %clang_cc1 -fsyntax-only -E -fms-compatibility %s | FileCheck --check-prefix=CHECK-MS-COMPAT %s
      2 // RUN: %clang_cc1 -fsyntax-only -E %s | FileCheck --check-prefix=CHECK-NO-MS-COMPAT %s
      3 
      4 #define FN(x) L#x
      5 #define F L "aaa"
      6 void *v1 = FN(aaa);
      7 void *v2 = F;
      8 // CHECK-MS-COMPAT: void *v1 = L"aaa";
      9 // CHECK-MS-COMPAT: void *v2 = L "aaa";
     10 // CHECK-NO-MS-COMPAT: void *v1 = L "aaa";
     11 // CHECK-NO-MS-COMPAT: void *v2 = L "aaa";
     12