File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -496,7 +496,7 @@ struct WithVirtual { // #sl-Virtual
496496static_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
502502struct 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
524524union U { // #sl-U
You can’t perform that action at this time.
0 commit comments