[clang] 34f701f - Add an explicit triple to the test

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 2 06:54:40 PDT 2024


Author: Aaron Ballman
Date: 2024-07-02T09:54:28-04:00
New Revision: 34f701f1d48e4014f62ee09c28669e9f1020ec23

URL: https://github.com/llvm/llvm-project/commit/34f701f1d48e4014f62ee09c28669e9f1020ec23
DIFF: https://github.com/llvm/llvm-project/commit/34f701f1d48e4014f62ee09c28669e9f1020ec23.diff

LOG: Add an explicit triple to the test

This should address a failure found by post-commit CI:
https://lab.llvm.org/buildbot/#/builders/190/builds/1129

Added: 
    

Modified: 
    clang/test/C/C2y/n3259.c

Removed: 
    


################################################################################
diff  --git a/clang/test/C/C2y/n3259.c b/clang/test/C/C2y/n3259.c
index 84118a76660c9..42c6720b2a665 100644
--- a/clang/test/C/C2y/n3259.c
+++ b/clang/test/C/C2y/n3259.c
@@ -1,5 +1,5 @@
-// RUN: %clang_cc1 -std=c2y -Wall -pedantic -Wno-unused -Wpre-c2y-compat -verify=pre-c2y %s -emit-llvm -o - | FileCheck %s
-// RUN: %clang_cc1 -std=c23 -Wall -pedantic -Wno-unused %s -verify -emit-llvm -o - | FileCheck %s
+// RUN: %clang_cc1 -triple=x86_64 -std=c2y -Wall -pedantic -Wno-unused -Wpre-c2y-compat -verify=pre-c2y %s -emit-llvm -o - | FileCheck %s
+// RUN: %clang_cc1 -triple=x86_64 -std=c23 -Wall -pedantic -Wno-unused %s -verify -emit-llvm -o - | FileCheck %s
 
 /* WG14 N3259: Yes
  * Support ++ and -- on complex values


        


More information about the cfe-commits mailing list