[clang] 088773b - [clang][Interp] Specify triple in C test

Timm Bäder via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 9 08:23:35 PST 2024


Author: Timm Bäder
Date: 2024-02-09T17:23:26+01:00
New Revision: 088773b0d1c1ee99d78f0b68bf50029637fbead7

URL: https://github.com/llvm/llvm-project/commit/088773b0d1c1ee99d78f0b68bf50029637fbead7
DIFF: https://github.com/llvm/llvm-project/commit/088773b0d1c1ee99d78f0b68bf50029637fbead7.diff

LOG: [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

Added: 
    

Modified: 
    clang/test/AST/Interp/c.c

Removed: 
    


################################################################################
diff  --git a/clang/test/AST/Interp/c.c b/clang/test/AST/Interp/c.c
index bb2c7cffe0330..afbc518e2af60 100644
--- a/clang/test/AST/Interp/c.c
+++ b/clang/test/AST/Interp/c.c
@@ -1,7 +1,7 @@
-// RUN: %clang_cc1 -fexperimental-new-constant-interpreter -verify=expected,all -std=c11 %s
-// RUN: %clang_cc1 -fexperimental-new-constant-interpreter -pedantic -verify=pedantic-expected,all -std=c11 %s
-// RUN: %clang_cc1 -verify=ref,all -std=c11 %s
-// RUN: %clang_cc1 -pedantic -verify=pedantic-ref,all -std=c11 %s
+// RUN: %clang_cc1 -triple x86_64-linux -fexperimental-new-constant-interpreter -verify=expected,all -std=c11 %s
+// RUN: %clang_cc1 -triple x86_64-linux -fexperimental-new-constant-interpreter -pedantic -verify=pedantic-expected,all -std=c11 %s
+// RUN: %clang_cc1 -triple x86_64-linux -verify=ref,all -std=c11 %s
+// RUN: %clang_cc1 -triple x86_64-linux -pedantic -verify=pedantic-ref,all -std=c11 %s
 
 typedef __INTPTR_TYPE__ intptr_t;
 typedef __PTRDIFF_TYPE__ ptr
diff _t;


        


More information about the cfe-commits mailing list