Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
udlit-addr.C
blob: 11389bfbc285ce67f1ca5247b52cd24416b8b456 [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
#include
<cstddef>
bool
operator
""
_yn
(
const
char
*,
size_t
);
typedef
bool
(*
pfunk
)(
const
char
*,
size_t
);
pfunk p
=
&
operator
""
_yn
;
bool
tf
=
p
(
"Hello,\0 World!"
,
14
);