Daniel Dunbar | a572887 | 2009-12-15 20:14:24 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -fsyntax-only -verify -std=c++0x %s |
Sean Hunt | 0486d74 | 2009-11-28 04:44:28 +0000 | [diff] [blame] | 2 | |
Sean Hunt | a6c058d | 2010-01-13 09:01:02 +0000 | [diff] [blame] | 3 | void operator "" (const char *); // expected-error {{expected identifier}} |
Sean Hunt | e425368 | 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 *); |