Sign in
llvm
/
clang
/
36a094aaa20f6951a530e9bf0250d9afcf8a341b
/
.
/
test
/
SemaCXX
/
aggregate-init-cxx98.cpp
blob: 332801f0822cb564911fd49580b126b204fd39ba [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -std=c++98 -verify %s
struct
A
{
A
()
=
default
;
// expected-warning {{C++11}}
int
n
;
};
A a
=
{
0
};