Clang Project

clang_source_code/test/SemaCXX/aggregate-init-cxx98.cpp
1// RUN: %clang_cc1 -std=c++98 -verify %s
2
3struct A {
4  A() = default; // expected-warning {{C++11}}
5  int n;
6};
7A a = {0};
8