bolt/deps/llvm-18.1.8/clang/test/SemaCXX/PR8012.cpp
2025-02-14 19:21:04 +01: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}}