Skip to content

Commit

Permalink
[test] Specify triple in backend-attribute-error-warning.cpp
Browse files Browse the repository at this point in the history
Tests fail on Windows otherwise.
  • Loading branch information
aeubanks committed Sep 29, 2021
1 parent 15a24e1 commit 2d56fbf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions 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);

Expand Down

0 comments on commit 2d56fbf

Please sign in to comment.