Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
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
;
}
};