blob: 5fd34fbc6a819b7c8884869aa4e35057a5b82f1b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// RUN: %clang_cc1 -E -P %s -o - | FileCheck %s
// RUN: %clang_cc1 -E -P -fms-extensions %s -o - | FileCheck %s --check-prefix=MSEXT
// -fms-extensions changes __pragma into #pragma
// Ensure that there is a newline after the #pragma line.
#define MACRO \
text \
__pragma(PRAGMA) \
after
before MACRO text
// CHECK: before text __pragma(PRAGMA) after text
// MSEXT: before text
// MSEXT-NEXT: #pragma PRAGMA
// MSEXT-NEXT: after text
|