Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git] / clang / test / Parser / cxx-template-recovery.cpp
blobe22f6c55e3f0c2d0e0761467527dc31b18278599
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
3 template <class T>
4 void Foo<T>::Bar(void* aRawPtr) { // expected-error {{no template named 'Foo'}}
5 (void)(aRawPtr);
8 namespace baz {
9 class klass {};
12 int *variable = 0; // ok
13 const baz::klass object; // ok