Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git] / clang / test / Preprocessor / whitespace-ms-extensions.c
blob5fd34fbc6a819b7c8884869aa4e35057a5b82f1b
1 // RUN: %clang_cc1 -E -P %s -o - | FileCheck %s
2 // RUN: %clang_cc1 -E -P -fms-extensions %s -o - | FileCheck %s --check-prefix=MSEXT
4 // -fms-extensions changes __pragma into #pragma
5 // Ensure that there is a newline after the #pragma line.
7 #define MACRO \
8 text \
9 __pragma(PRAGMA) \
10 after
12 before MACRO text
15 // CHECK: before text __pragma(PRAGMA) after text
17 // MSEXT: before text
18 // MSEXT-NEXT: #pragma PRAGMA
19 // MSEXT-NEXT: after text