repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fortran: Fix PR 47485.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr104668.C
blob
c3ad33dd40b1cf58659b14f2dd9804bb0be8d305
1
// PR c++/104668
2
// { dg-do compile { target c++11 } }
3
// { dg-excess-errors "" }
4
5
template <class... Ts>
6
void sink(Ts...);
7
template <class... Ts>
8
void f(Ts...) {
9
sink([] { struct alignas:Ts) S {}; }...); }
10
}
11
int main() {
12
f(0);
13
}