repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PR c++/85765 - SFINAE and non-type default template arg.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-77482.C
blob
6f5c91621cebd2fe413ed3d5dea9e4233e53600e
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 "has incomplete type" }