[clang] 0de10a6 - Fix a failing C DR test case found by post-commit CI

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 24 13:25:18 PDT 2022


Author: Aaron Ballman
Date: 2022-10-24T16:25:10-04:00
New Revision: 0de10a60af24056cd7f2afc55e1508aa2cb13b3b

URL: https://github.com/llvm/llvm-project/commit/0de10a60af24056cd7f2afc55e1508aa2cb13b3b
DIFF: https://github.com/llvm/llvm-project/commit/0de10a60af24056cd7f2afc55e1508aa2cb13b3b.diff

LOG: Fix a failing C DR test case found by post-commit CI

This should address the failure found by:
https://lab.llvm.org/buildbot/#/builders/231/builds/4152

Added: 
    

Modified: 
    clang/test/C/drs/dr335.c

Removed: 
    


################################################################################
diff  --git a/clang/test/C/drs/dr335.c b/clang/test/C/drs/dr335.c
index 72e8a8911215..3ce6ce5bd53c 100644
--- a/clang/test/C/drs/dr335.c
+++ b/clang/test/C/drs/dr335.c
@@ -1,8 +1,13 @@
-/* RUN: %clang_cc1 -std=c89 -emit-llvm -o - %s | FileCheck %s
-   RUN: %clang_cc1 -std=c99 -emit-llvm -o - %s | FileCheck %s
-   RUN: %clang_cc1 -std=c11 -emit-llvm -o - %s | FileCheck %s
-   RUN: %clang_cc1 -std=c17 -emit-llvm -o - %s | FileCheck %s
-   RUN: %clang_cc1 -std=c2x -emit-llvm -o - %s | FileCheck %s
+/* RUN: %clang_cc1 -std=c89 -triple x86_64-pc-win32 -emit-llvm -o - %s | FileCheck %s
+   RUN: %clang_cc1 -std=c89 -triple i686-pc-linux -emit-llvm -o - %s | FileCheck %s
+   RUN: %clang_cc1 -std=c99 -triple x86_64-pc-win32 -emit-llvm -o - %s | FileCheck %s
+   RUN: %clang_cc1 -std=c99 -triple i686-pc-linux -emit-llvm -o - %s | FileCheck %s
+   RUN: %clang_cc1 -std=c11 -triple x86_64-pc-win32 -emit-llvm -o - %s | FileCheck %s
+   RUN: %clang_cc1 -std=c11 -triple i686-pc-linux -emit-llvm -o - %s | FileCheck %s
+   RUN: %clang_cc1 -std=c17 -triple x86_64-pc-win32 -emit-llvm -o - %s | FileCheck %s
+   RUN: %clang_cc1 -std=c17 -triple i686-pc-linux -emit-llvm -o - %s | FileCheck %s
+   RUN: %clang_cc1 -std=c2x -triple x86_64-pc-win32 -emit-llvm -o - %s | FileCheck %s
+   RUN: %clang_cc1 -std=c2x -triple i686-pc-linux -emit-llvm -o - %s | FileCheck %s
  */
 
 /* WG14 DR335: yes


        


More information about the cfe-commits mailing list