We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d65412a commit ebe8337Copy full SHA for ebe8337
clang/test/SemaCXX/type-traits-unsatisfied-diags.cpp
@@ -900,6 +900,8 @@ namespace is_aggregate {
900
// expected-note@-1 {{'S6' is not aggregate}} \
901
// expected-note@#ag-S6 {{'S6' defined here}}
902
903
+ static_assert(__is_aggregate(S6[]));
904
+
905
struct B7 {};
906
907
struct S7 : virtual B7 { // #ag-S7
@@ -915,4 +917,6 @@ namespace is_aggregate {
915
917
// expected-note@-1 {{because it has a virtual base}} \
916
918
// expected-note@-1 {{'S7' is not aggregate}} \
919
// expected-note@#ag-S7 {{'S7' defined here}}
920
921
+ static_assert(__is_aggregate(S7[10]));
922
}
0 commit comments