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
/
pr81060.C
blob
67b2b38596abefc6ecfc7e7963563f1891bb6007
1
// { dg-do compile { target c++11 } }
2
// PR 81050 ICE in invalid after error
3
4
template<typename... T> struct A
5
{
6
static const int i;
7
};
8
9
template<typename... T>
10
const int A<T>::i // { dg-error "template definition of non-template" }
11
= []{ return 0; }(); // BOOM!