blob: 7d3286e007be4ac4baefb725e6a61c803814cc7e (
plain)
1
2
3
4
5
6
7
8
9
10
|
// { dg-options "-std=c++0x" }
#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);
|