Daniel Dunbar | 8fbe78f | 2009-12-15 20:14:24 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -fsyntax-only -verify -std=c++0x %s |
Alexis Hunt | 3445850 | 2009-11-28 04:44:28 +0000 | [diff] [blame] | 2 | |
Alexis Hunt | c88db06 | 2010-01-13 09:01:02 +0000 | [diff] [blame^] | 3 | void operator "" (const char *); // expected-error {{expected identifier}} |
4 | void operator "k" foo(const char *); // expected-error {{string literal after 'operator' must be '""'}} | ||||
5 | void operator "" tester (const char *); |