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++/86728 - C variadic generic lambda.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr59816.C
blob
42153252b89d4242253f6c8f2eefbc256bfe7873
1
// PR c++/59816
2
// { dg-do compile { target c++11 } }
3
4
class Base {
5
protected:
6
template<class... TArgs>
7
Base(TArgs...) {}
8
};
9
10
class Class
11
: public Base {
12
public:
13
template<class... TArgs>
14
Class(TArgs... args) : Base { args... } {}
15
};
16
17
void test() {
18
Class{};
19
}