Fix PR c++/69139 (deduction failure with trailing return type)
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / defaulted46.C
blobd4562c95903514fbfbe15335e1b423c4067fdcb2
1 // { dg-require-effective-target c++11 }
3 struct A
5 protected:
6   A() = default;
7   int i;
8 };
10 struct B: A {
11   B() = default;
14 int main()
16   B();