android_mt6572_jiabo/external/clang/test/SemaCXX/PR8012.cpp
2025-09-05 16:56:03 +08:00

3 lines
148 B
C++

// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++11
void foo(int operator+); // expected-error{{'operator+' cannot be the name of a parameter}}