Author: Timm Bäder Date: 2024-07-18T18:25:08+02:00 New Revision: 8c8e0ddae96882247717b8ae1739abcf09726eab
URL: https://github.com/llvm/llvm-project/commit/8c8e0ddae96882247717b8ae1739abcf09726eab DIFF: https://github.com/llvm/llvm-project/commit/8c8e0ddae96882247717b8ae1739abcf09726eab.diff LOG: [clang][Interp][test] Use fixed triple in cxx11 test This uses 'long', which has a different size on Windows. The test I copied this from also uses x86_64-linux. This should fix the bot: https://lab.llvm.org/buildbot/#/builders/81/builds/853 Added: Modified: clang/test/AST/Interp/cxx11.cpp Removed: ################################################################################ diff --git a/clang/test/AST/Interp/cxx11.cpp b/clang/test/AST/Interp/cxx11.cpp index c0b88f0e567e0..92ab9b605f30d 100644 --- a/clang/test/AST/Interp/cxx11.cpp +++ b/clang/test/AST/Interp/cxx11.cpp @@ -1,5 +1,5 @@ -// RUN: %clang_cc1 -fexperimental-new-constant-interpreter -verify=both,expected -std=c++11 %s -// RUN: %clang_cc1 -verify=both,ref -std=c++11 %s +// RUN: %clang_cc1 -triple x86_64-linux -fexperimental-new-constant-interpreter -verify=both,expected -std=c++11 %s +// RUN: %clang_cc1 -triple x86_64-linux -verify=both,ref -std=c++11 %s namespace IntOrEnum { const int k = 0; _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits