gcc/testsuite/g++.dg/cpp0x/alias-decl-80296.C
raw| 1 | // { dg-do compile { target c++11 } } |
| 2 | // { dg-bogus "not supported by" "" { target *-*-* } 0 } |
| 3 | |
| 4 | template <int...> struct A {}; |
| 5 | |
| 6 | template <int... N> using B = A<+N...>; |
| 7 | |
| 8 | B<int> b; // { dg-error "type/value mismatch" } |
| 9 | // { dg-message "expected a constant" "expected" { target *-*-* } .-1 } |