Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr71182.C
blob: c5c0c543bcadb04d2efa66450cb0dea3bab88e69 [
file
] [
log
] [
blame
]
// PR c++/71182
// { dg-do compile { target c++11 } }
class
A
{
template
<typename>
void
As
();
};
template
<
typename
T
>
class
B
:
A
{
void
f
()
{
A
*
g
;
g
?
g
->
As
<
T
>()
:
nullptr
;
}
};