2014-12-24 06:32:37 +08:00
|
|
|
// RUN: %clang -w -std=c99 -trigraphs -std=gnu99 %s -E -o - | FileCheck -check-prefix=OVERRIDE %s
|
2009-10-27 02:07:30 +08:00
|
|
|
// OVERRIDE: ??(??)
|
2014-12-24 06:32:37 +08:00
|
|
|
// RUN: %clang -w -std=c99 -trigraphs -std=gnu99 %s -E -o - | FileCheck -check-prefix=FOVERRIDE %s
|
|
|
|
// FOVERRIDE: ??(??)
|
|
|
|
// RUN: %clang -w -ansi %s -E -o - | FileCheck -check-prefix=ANSI %s
|
2009-10-27 02:07:30 +08:00
|
|
|
// ANSI: []
|
2014-12-24 06:32:37 +08:00
|
|
|
// RUN: %clang -w -ansi %s -fno-trigraphs -E -o - | FileCheck -check-prefix=ANSI-OVERRIDE %s
|
|
|
|
// ANSI-OVERRIDE: ??(??)
|
|
|
|
// RUN: %clang -w -std=gnu99 -trigraphs %s -E -o - | FileCheck -check-prefix=EXPLICIT %s
|
2009-10-27 02:07:30 +08:00
|
|
|
// EXPLICIT: []
|
2014-12-24 06:32:37 +08:00
|
|
|
// RUN: %clang -w -std=gnu99 -ftrigraphs %s -E -o - | FileCheck -check-prefix=FEXPLICIT %s
|
|
|
|
// FEXPLICIT: []
|
|
|
|
// RUN: %clang -w -ftrigraphs -fno-trigraphs %s -E -o - | FileCheck -check-prefix=ONOFF %s
|
|
|
|
// ONOFF: ??(??)
|
|
|
|
// RUN: %clang -w -fno-trigraphs -trigraphs %s -E -o - | FileCheck -check-prefix=OFFFON %s
|
|
|
|
// OFFFON: []
|
2009-04-08 06:13:21 +08:00
|
|
|
|
|
|
|
??(??)
|