Skip to content

Commit 088773b

Browse files
committed
[clang][Interp] Specify triple in C test
This is what test/Sema/const-eval.c does as well and without specifying it, some windows builders are broken: https://lab.llvm.org/buildbot/#/builders/265/builds/2453
1 parent 1f20bc2 commit 088773b

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=expected,all -std=c11 %s
2-
// RUN: %clang_cc1 -fexperimental-new-constant-interpreter -pedantic -verify=pedantic-expected,all -std=c11 %s
3-
// RUN: %clang_cc1 -verify=ref,all -std=c11 %s
4-
// RUN: %clang_cc1 -pedantic -verify=pedantic-ref,all -std=c11 %s
1+
// RUN: %clang_cc1 -triple x86_64-linux -fexperimental-new-constant-interpreter -verify=expected,all -std=c11 %s
2+
// RUN: %clang_cc1 -triple x86_64-linux -fexperimental-new-constant-interpreter -pedantic -verify=pedantic-expected,all -std=c11 %s
3+
// RUN: %clang_cc1 -triple x86_64-linux -verify=ref,all -std=c11 %s
4+
// RUN: %clang_cc1 -triple x86_64-linux -pedantic -verify=pedantic-ref,all -std=c11 %s
55

66
typedef __INTPTR_TYPE__ intptr_t;
77
typedef __PTRDIFF_TYPE__ ptrdiff_t;

0 commit comments

Comments
 (0)