Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/pr104668.C

raw
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 }