Alexis Hunt | 3445850 | 2009-11-28 04:44:28 +0000 | [diff] [blame] | 1 | // RUN: clang-cc -fsyntax-only -verify -std=c++0x %s |
2 | |||||
3 | void operator "" (); // expected-error {{expected identifier}} | ||||
4 | void operator "k" foo(); // expected-error {{string literal after 'operator' must be '""'}} \ | ||||
Alexis Hunt | ed0530f | 2009-11-28 08:58:14 +0000 | [diff] [blame] | 5 | // expected-error {{C++0x literal operator support is currently under development}} |