1*67e74705SXin Li // RUN: %clang_cc1 -Wc++11-compat -verify -std=c++98 %s 2*67e74705SXin Li // RUN: cp %s %t 3*67e74705SXin Li // RUN: not %clang_cc1 -Wc++11-compat -Werror -x c++ -std=c++98 -fixit %t 4*67e74705SXin Li // RUN: %clang_cc1 -Wall -pedantic-errors -Wc++11-compat -Werror -x c++ -std=c++98 %t 5*67e74705SXin Li 6*67e74705SXin Li // This is a test of the code modification hints for C++11-compatibility problems. 7*67e74705SXin Li 8*67e74705SXin Li #define bar "bar" 9*67e74705SXin Li const char *p = "foo"bar; // expected-warning {{will be treated as a reserved user-defined literal suffix}} 10*67e74705SXin Li #define _bar "_bar" 11*67e74705SXin Li const char *q = "foo"_bar; // expected-warning {{will be treated as a user-defined literal suffix}} 12