Skip to content

Commit bdac5de

Browse files
committed
[clang][Interp] Specify C standard in test case
Looks like some builders default to c99, which is a problem: https://lab.llvm.org/buildbot/#/builders/139/builds/49750
1 parent 9420fc4 commit bdac5de

File tree

1 file changed

+4
-4
lines changed
  • clang/test/AST/Interp

1 file changed

+4
-4
lines changed

clang/test/AST/Interp/c.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
// RUN: %clang_cc1 -fexperimental-new-constant-interpreter -verify %s
2-
// RUN: %clang_cc1 -fexperimental-new-constant-interpreter -pedantic -verify=pedantic-expected %s
3-
// RUN: %clang_cc1 -verify=ref %s
4-
// RUN: %clang_cc1 -pedantic -verify=pedantic-ref %s
1+
// RUN: %clang_cc1 -fexperimental-new-constant-interpreter -verify -std=c11 %s
2+
// RUN: %clang_cc1 -fexperimental-new-constant-interpreter -pedantic -verify=pedantic-expected -std=c11 %s
3+
// RUN: %clang_cc1 -verify=ref -std=c11 %s
4+
// RUN: %clang_cc1 -pedantic -verify=pedantic-ref -std=c11 %s
55

66
/// expected-no-diagnostics
77

0 commit comments

Comments
 (0)