☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-77482.C
☽
☼
gcc/testsuite/g++.dg/cpp0x/constexpr-77482.C
code
plain
raw
1
// PR c++/77482
2
// { dg-do compile { target c++11 } }
3
4
constexpr auto x; // { dg-error "declaration\[^\n\r]*has no initializer" }
5
extern struct S s;
6
constexpr auto y = s; // { dg-error "incomplete" }