Author: Arthur Eubanks
Date: 2021-09-28T17:00:10-07:00
New Revision: 2d56fbf6cd16bb7d2ae6c726b37d2096b9bdcd5a

URL: 
https://github.com/llvm/llvm-project/commit/2d56fbf6cd16bb7d2ae6c726b37d2096b9bdcd5a
DIFF: 
https://github.com/llvm/llvm-project/commit/2d56fbf6cd16bb7d2ae6c726b37d2096b9bdcd5a.diff

LOG: [test] Specify triple in backend-attribute-error-warning.cpp

Tests fail on Windows otherwise.

Added: 
    

Modified: 
    clang/test/Frontend/backend-attribute-error-warning.cpp

Removed: 
    


################################################################################
diff  --git a/clang/test/Frontend/backend-attribute-error-warning.cpp 
b/clang/test/Frontend/backend-attribute-error-warning.cpp
index 0338fe4131d17..9e3fac8fcd7a6 100644
--- a/clang/test/Frontend/backend-attribute-error-warning.cpp
+++ b/clang/test/Frontend/backend-attribute-error-warning.cpp
@@ -1,5 +1,6 @@
-// RUN: %clang_cc1 -verify=expected,enabled -emit-codegen-only %s
-// RUN: %clang_cc1 -verify -emit-codegen-only -Wno-attribute-warning %s
+// REQUIRES: x86-registered-target
+// RUN: %clang_cc1 -triple x86_64-linux-gnu -verify=expected,enabled 
-emit-codegen-only %s
+// RUN: %clang_cc1 -verify -triple x86_64-linux-gnu -emit-codegen-only 
-Wno-attribute-warning %s
 
 __attribute__((error("oh no foo"))) void foo(void);
 


        
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to