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++/85765 - SFINAE and non-type default template arg.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
variadic127.C
blob
2e0d593ac9b0722cb273dd9ba506df3ce8f86668
1
// PR c++/51148
2
// { dg-do compile { target c++11 } }
3
4
template<typename... Types>
5
struct S
6
{};
7
8
template<typename... Types>
9
struct T
10
{
11
friend class S<Types>; // { dg-error "parameter packs not expanded" }
12
};
13
14
int main()
15
{}