Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
decltype-33837.C
blob: 4a8f053234eb79fd9a73815c6050ef3207ac2ade [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
// PR c++/33837
void
foo
()
{
__decltype
(
A
::
foo
());
// { dg-error "A" }
__decltype
(
B
);
// { dg-error "B" }
}