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
c++: prvalue of array type [PR111286]
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
variadic177.C
blob
96736a0ac0abd834ed435c6d10f0228b87cd80a6
1
// PR c++/71548
2
// { dg-do compile { target c++11 } }
3
4
template<typename> class fl {};
5
template<typename = void, template<class...> class = fl>
6
struct S {};
7
template<typename... T>
8
void f(S<T...> ) {}
9
void lol() {
10
S<> s;
11
f(s); // { dg-error "no matching function for call to" }
12
}