Sign in
android
/
toolchain
/
gcc
/
donut
/
.
/
gcc-4.4.0
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
decltype-33837.C
blob: 2c263dd0a97fc8f2c8ea70e9f15ea63b63c20c9a [
file
] [
log
] [
blame
]
// { dg-options -std=c++0x }
// PR c++/33837
void
foo
()
{
__decltype
(
A
::
foo
());
// { dg-error "was not declared|expected" }
__decltype
(
B
);
// { dg-error "was not declared" }
}