Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/constexpr-113083.C

raw
1 // PR c++/113083
2 // { dg-do compile { target c++11 } }
3 // { dg-options "-Os" }
4
5 struct A { constexpr A (); };
6
7 void
8 foo ()
9 {
10 A b;
11 }
12
13 constexpr
14 A::A ()
15 {
16 }