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
/
pr50491.C
blob
d203a33efeb91f1a496f5b723025051bf3fd9e93
1
// { dg-do compile { target c++11 } }
2
3
struct GrandParent {
4
void *get();
5
};
6
7
template<class OBJ>
8
struct Parent : public GrandParent{
9
};
10
11
template<typename T>
12
struct Child : public Parent<T> {
13
using GrandParent::get;
14
void Foo() {
15
void* ex = get();
16
}
17
};