xref: /minix3/external/bsd/llvm/dist/clang/test/Driver/std.c (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1*0a6a1f1dSLionel Sambuc // RUN: %clang -w -std=c99 -trigraphs -std=gnu99 %s -E -o - | FileCheck -check-prefix=OVERRIDE %s
2f4a2713aSLionel Sambuc // OVERRIDE: ??(??)
3*0a6a1f1dSLionel Sambuc // RUN: %clang -w -std=c99 -trigraphs -std=gnu99 %s -E -o - | FileCheck -check-prefix=FOVERRIDE %s
4*0a6a1f1dSLionel Sambuc // FOVERRIDE: ??(??)
5*0a6a1f1dSLionel Sambuc // RUN: %clang -w -ansi %s -E -o - | FileCheck -check-prefix=ANSI %s
6f4a2713aSLionel Sambuc // ANSI: []
7*0a6a1f1dSLionel Sambuc // RUN: %clang -w -ansi %s -fno-trigraphs -E -o - | FileCheck -check-prefix=ANSI-OVERRIDE %s
8*0a6a1f1dSLionel Sambuc // ANSI-OVERRIDE: ??(??)
9*0a6a1f1dSLionel Sambuc // RUN: %clang -w -std=gnu99 -trigraphs %s -E -o - | FileCheck -check-prefix=EXPLICIT %s
10f4a2713aSLionel Sambuc // EXPLICIT: []
11*0a6a1f1dSLionel Sambuc // RUN: %clang -w -std=gnu99 -ftrigraphs %s -E -o - | FileCheck -check-prefix=FEXPLICIT %s
12*0a6a1f1dSLionel Sambuc // FEXPLICIT: []
13*0a6a1f1dSLionel Sambuc // RUN: %clang -w -ftrigraphs -fno-trigraphs %s -E -o - | FileCheck -check-prefix=ONOFF %s
14*0a6a1f1dSLionel Sambuc // ONOFF: ??(??)
15*0a6a1f1dSLionel Sambuc // RUN: %clang -w -fno-trigraphs -trigraphs %s -E -o - | FileCheck -check-prefix=OFFFON %s
16*0a6a1f1dSLionel Sambuc // OFFFON: []
17f4a2713aSLionel Sambuc 
18f4a2713aSLionel Sambuc ??(??)
19