blob: 30b290382cb48d092cbf63e7fb5214ff8fab893c [file] [log] [blame]
Daniel Dunbar8fbe78f2009-12-15 20:14:24 +00001// RUN: %clang_cc1 -fsyntax-only -verify -std=c++0x %s
Alexis Hunt34458502009-11-28 04:44:28 +00002
Alexis Huntc88db062010-01-13 09:01:02 +00003void operator "" (const char *); // expected-error {{expected identifier}}
4void operator "k" foo(const char *); // expected-error {{string literal after 'operator' must be '""'}}
5void operator "" tester (const char *);