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

6 lines
270 B
C++
Raw Normal View History

2022-04-25 13:02:35 +02:00
// 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}}