[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Driver / std.c
blobfe0c4671d9d6fd7c98ec8a3eaf3cb4aee0d6a1e5
1 // RUN: %clang -w -ansi %s -E -o - | FileCheck -check-prefix=ANSI %s
2 // ANSI: []
3 // RUN: %clang -w -ansi %s -fno-trigraphs -E -o - | FileCheck -check-prefix=ANSI-OVERRIDE %s
4 // ANSI-OVERRIDE: ??(??)
5 // RUN: %clang -w -std=gnu99 -trigraphs %s -E -o - | FileCheck -check-prefix=EXPLICIT %s
6 // EXPLICIT: []
7 // RUN: %clang -w -std=gnu99 -ftrigraphs %s -E -o - | FileCheck -check-prefix=FEXPLICIT %s
8 // FEXPLICIT: []
9 // RUN: %clang -w -ftrigraphs -fno-trigraphs %s -E -o - | FileCheck -check-prefix=ONOFF %s
10 // ONOFF: ??(??)
11 // RUN: %clang -w -fno-trigraphs -trigraphs %s -E -o - | FileCheck -check-prefix=OFFFON %s
12 // OFFFON: []
14 ??(??)