mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-12-06 04:51:53 +00:00
4 lines
148 B
C++
4 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}}
|