Skip to content

Commit fb70b44

Browse files
committed
Fix tests
1 parent 8f0a6a8 commit fb70b44

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/test/SemaCXX/type-traits-unsatisfied-diags.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ struct WithVirtual { // #sl-Virtual
496496
static_assert(__is_standard_layout(WithVirtual));
497497
// expected-error@-1 {{static assertion failed due to requirement '__is_standard_layout(standard_layout_tests::WithVirtual)'}} \
498498
// expected-note@-1 {{'WithVirtual' is not standard-layout}} \
499-
// expected-note@-1 {{because it has virtual functions}} \
499+
// expected-note@-1 {{because it has a virtual function}} \
500500
// expected-note@#sl-Virtual {{'WithVirtual' defined here}}
501501

502502
struct MixedAccess { // #sl-Mixed
@@ -518,7 +518,7 @@ static_assert(__is_standard_layout(VB));
518518
// expected-note@-1 {{'VB' is not standard-layout}} \
519519
// expected-note@-1 {{because it has a virtual base 'VirtualBase'}} \
520520
// expected-note@-1 {{because it has a non-standard-layout base 'VirtualBase'}} \
521-
// expected-note@-1 {{because it has virtual functions}}
521+
// expected-note@-1 {{because it has a virtual function}}
522522
// expected-note@#sl-VB {{'VB' defined here}}
523523

524524
union U { // #sl-U

0 commit comments

Comments
 (0)