Sign in
cobalt
/
cobalt
/
308ed6b84664d59944cd65f4b4359c28a2443be6
/
.
/
src
/
third_party
/
llvm-project
/
clang
/
test
/
CXX
/
dcl.decl
/
dcl.meaning
/
dcl.fct.default
/
p8.cpp
blob: 1a08ab73328770c85ca08d793039b3db17b7eec3 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -verify %s
class
A
{
void
f
(
A
*
p
=
this
)
{
}
// expected-error{{invalid use of 'this'}}
};