Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
decltype69.C
blob: 849a244696523e905e68e0f76a4e50adf1e37cf6 [
file
] [
log
] [
blame
]
// PR c++/89356
// { dg-do compile { target c++11 } }
typedef
unsigned
a
;
template
<typename>
struct
h
{};
template
<
int
,
class
b
>
auto
c
(
b f
)
->
h
<
decltype
(
f
(
a
{
0
}))>;
typedef
char
byte
;
enum
d
:
byte
;
d g
(
byte
);
h
<d>
e
=
c
<
6
>(
g
);