brintos

brintos / llvm-project-archived public Read only

0
0
Text · 481 B · 5fd34fb Raw
20 lines · c
1// RUN: %clang_cc1 -E -P %s -o - | FileCheck %s2// RUN: %clang_cc1 -E -P -fms-extensions %s -o - | FileCheck %s --check-prefix=MSEXT3 4// -fms-extensions changes __pragma into #pragma5// Ensure that there is a newline after the #pragma line.6 7#define MACRO        \8    text             \9    __pragma(PRAGMA) \10    after11 12before MACRO text13 14 15// CHECK:      before text __pragma(PRAGMA) after text16 17// MSEXT:      before text18// MSEXT-NEXT: #pragma PRAGMA19// MSEXT-NEXT: after text20