cxx0x-literal-operators.cpp revision 6cf750298d3621d8a10a6dd07fcee8e274b9d94d
1// RUN: %clang_cc1 -fsyntax-only -verify -std=c++0x %s
2
3void operator "" (const char *); // expected-error {{expected identifier}}
4void operator "k" foo(const char *); // expected-error {{string literal after 'operator' must be '""'}}
5void operator "" tester (const char *);
6