1// RUN: %clang_cc1 -fsyntax-only -verify %s 2class A { 3 void f(A* p = this) { } // expected-error{{invalid use of 'this'}} 4}; 5