Files
clang-p2996/clang/test/SemaCXX/rdar42746401.cpp
Erik Pilkington c587164422 [AST] Fix a crash on invalid.
Problem was that we were appending to the source location info buffer in the
copy assignment operator (instead of overwriting).

rdar://42746401

llvm-svn: 341869
2018-09-10 21:54:04 +00:00

8 lines
250 B
C++

// RUN: %clang_cc1 -fsyntax-only -verify %s
template <int>
class b;
class c; // expected-note{{forward declaration}}
::b<0> struct c::d // expected-error{{incomplete type}} expected-error{{cannot combine}} expected-error{{expected unqualified-id}}