StmtPrinter: factor out arg printing code to PrintCallArgs
[clang.git] / test / Lexer / has_feature_exceptions.cpp
blobbb5dc0c1336261a8378e5e145eb05805fc5eb7b2
1 // RUN: %clang_cc1 -E -fexceptions %s -o - | FileCheck --check-prefix=CHECK-EXCEPTIONS %s
2 // RUN: %clang_cc1 -E %s -o - | FileCheck --check-prefix=CHECK-NO-EXCEPTIONS %s
4 #if __has_feature(cxx_exceptions)
5 int foo();
6 #else
7 int bar();
8 #endif
10 // CHECK-EXCEPTIONS: foo
11 // CHECK-NO-EXCEPTIONS: bar