]> gcc.gnu.org Git - gcc.git/blob - gcc/testsuite/g++.dg/cpp0x/constexpr-empty12.C
PR c++/92590 - wrong handling of inherited default ctor.
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / constexpr-empty12.C
1 // { dg-do compile { target c++11 } }
2
3 struct A { } a;
4 constexpr int f (A a) { return 42; }
5 constexpr int i = f(a);
This page took 0.036658 seconds and 5 git commands to generate.