Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
decltype-incomplete1.C
blob: f46d0ba4194ff7b7bcacbf52edd57f5d336f8139 [
file
] [
log
] [
blame
]
// PR c++/59270
// { dg-do compile { target c++11 } }
struct
A
{
struct
B b
;
// { dg-error "incomplete type" }
};
decltype
(
A
())
a
;