OSDN Git Service

PR c++/48948
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / cpp0x / constexpr-incomplete1.C
1 // { dg-options -std=c++0x }
2
3 struct A
4 {
5   static constexpr A a = 1;     // { dg-error "incomplete" }
6   constexpr A(int i) { }
7 };