ee5fc9854fc5ebb103c15e2c7266864575551505
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / constexpr-access.C
1 // { dg-options -std=c++0x }
2
3 class base
4 {
5 protected:
6 constexpr base() { }
7 };
8
9 struct A : base { };
10
11 int main()
12 {
13 A a;
14 }