[ELF] Avoid make in elf::writeARMCmseImportLib
[llvm-project.git] / clang / test / Lexer / ms-compatibility.c
blob2981b8e062e93a46f6add24517c62a730055e92d
1 // RUN: %clang_cc1 -E -fms-compatibility %s | FileCheck --check-prefix=CHECK-MS-COMPAT %s
2 // RUN: %clang_cc1 -E %s | FileCheck --check-prefix=CHECK-NO-MS-COMPAT %s
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";