Skip to content

Commit 9265f7c

Browse files
committed
[Clang] Fix failing test caused by non-portable diag message
1 parent 50dd383 commit 9265f7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/test/SemaCXX/static-assert-cxx26.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 -std=c++2c -fsyntax-only %s -verify
1+
// RUN: %clang_cc1 -std=c++2c -triple=x86_64-linux -fsyntax-only %s -verify
22

33
static_assert(true, "");
44
static_assert(true, 0); // expected-error {{the message in a static assertion must be a string literal or an object with 'data()' and 'size()' member functions}}

0 commit comments

Comments
 (0)