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
simulate-thread tests: Silence gdb debuginfod warning
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
alias-decl-33.C
blob
25781a484e0686d494f9764f929d2851d94551c9
1
// PR c++/51239
2
// { dg-require-effective-target c++11 }
3
4
template<class... x>
5
class list{};
6
template<class a, class... b>
7
using tail=list<b...>;
8
template <class...T>
9
void f(tail<T...>); // { dg-error "alias" }
10
11
int main()
12
{
13
f<int,int>({});
14
}