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 | |
3 | void operator "" (); // expected-error {{expected identifier}} | ||||
Alexis Hunt | 3d221f2 | 2009-11-29 07:34:05 +0000 | [diff] [blame] | 4 | void operator "k" foo(); // expected-error {{string literal after 'operator' must be '""'}} |
5 | void operator "" tester (int); |