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}} |
Alexis Hunt | 8591e9e | 2010-08-29 22:39:32 +0000 | [diff] [blame] | 4 | void operator "k" _foo(const char *); // expected-error {{string literal after 'operator' must be '""'}} |
| 5 | void operator "" _tester (const char *); |