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++/85553
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
auto51.C
blob
dfb08336b53ca3fa4bdec55d6e898dbf4fbf73bd
1
// PR c++/84798
2
// { dg-do compile { target c++11 } }
3
4
template<typename T>
5
struct S {
6
static constexpr T value = 0;
7
};
8
9
constexpr auto x = S<void(*)(auto)>::value; // { dg-error "auto" }