xref: /aosp_15_r20/external/clang/test/SemaCXX/PR8012.cpp (revision 67e74705e28f6214e480b399dd47ea732279e315)
1 // RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++11
2 
3 void foo(int operator+); // expected-error{{'operator+' cannot be the name of a parameter}}
4