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

Tests fail on Windows otherwise.
This commit is contained in:
Arthur Eubanks 2021-09-28 16:59:15 -07:00
parent 15a24e1fdb
commit 2d56fbf6cd
1 changed files with 3 additions and 2 deletions

View File

@ -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);