Skip to content

Commit 593cc60

Browse files
committed
update tests
1 parent ef0f355 commit 593cc60

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

clang/test/Preprocessor/macro-reserved-attrs1.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify -pedantic %s
1+
// RUN: %clang_cc1 -triple x86_64-linux-gnu -std=c++11 -fsyntax-only -verify -pedantic %s
22

33
#define noreturn 1 // expected-warning {{noreturn is a reserved attribute identifier}}
44
#undef noreturn // expected-warning {{noreturn is a reserved attribute identifier}}

clang/test/Preprocessor/macro-reserved-attrs2.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify -pedantic %s
1+
// RUN: %clang_cc1 -triple x86_64-linux-gnu -std=c++11 -fsyntax-only -verify -pedantic %s
22

33
#define noreturn // expected-warning {{noreturn is a reserved attribute identifier}}
44
#undef noreturn // expected-warning {{noreturn is a reserved attribute identifier}}

0 commit comments

Comments
 (0)