[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / SemaCXX / PR8012.cpp
blob0a43af7c297cd12204b06b876e9302516e605e4b
1 // RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++11
3 void foo(int operator+); // expected-error{{'operator+' cannot be the name of a parameter}}