Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
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
);