1// RUN: %clang_cc1 -std=c++11 %s -verify
2// expected-no-diagnostics
3
4constexpr int operator "" _a(const char *c) {
5  return c[0];
6}
7
8static_assert(operator "" _a("foo") == 'f', "");
9
10void puts(const char *);
11static inline void operator "" _puts(const char *c) {
12  puts(c);
13}
14void f() {
15  operator "" _puts("foo");
16  operator "" _puts("bar");
17}
18