Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
nsdmi-virtual2.C
blob: 157854c5aa075c39c937efb02a2e9b82b0429565 [
file
] [
log
] [
blame
]
// PR c++/51474
// { dg-do compile { target c++11 } }
struct
A
{
virtual
int
foo
()
=
0
;
int
i
=
foo
();
// { dg-warning "pure virtual" }
};