Skip to content

Commit 28c819c

Browse files
committed
[Clang] Fix tests broken by 0a9c08c
1 parent 9e0b2b6 commit 28c819c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/test/AST/ByteCode/cxx2a.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,8 @@ namespace TypeId {
139139
static_assert(&B2().ti1 == &typeid(B));
140140
static_assert(&B2().ti2 == &typeid(B2));
141141
extern B2 extern_b2;
142-
static_assert(&typeid(extern_b2) == &typeid(B2)); // both-error {{constant expression}} \
143-
// both-note{{typeid applied to object 'extern_b2' whose dynamic type is not constant}}
142+
static_assert(&typeid(extern_b2) == &typeid(B2)); // expected-error {{constant expression}} \
143+
// expected-note{{typeid applied to object 'extern_b2' whose dynamic type is not constant}}
144144

145145

146146
constexpr B2 b2;

0 commit comments

Comments
 (0)