llvm-for-llvmta/tools/clang/test/SemaCXX/no-warn-user-defined-litera...

6 lines
270 B
C++

// RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 -Wsystem-headers -isystem %S %s
#include <no-warn-user-defined-literals-in-system-headers.h>
void operator "" bar(long double); // expected-warning{{user-defined literal suffixes not starting with '_' are reserved}}