Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
decltype73.C
blob: cbe94a898e34771d9548a3d512f9f7ee0871368d [
file
] [
log
] [
blame
]
// PR c++/91678 - wrong error with decltype and location wrapper.
// { dg-do compile { target c++11 } }
float
*
test
(
float
*
c
)
{
return
(
decltype
(
c
+
0
))(
float
*)
c
;
}