[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git] / clang / test / SemaCXX / pr13353.cpp
blob8fb5443fe62317597565c05f8da2b3965ff41c60
1 // RUN: %clang_cc1 -fsyntax-only %s
2 struct foo {
3 virtual void bar() ;
4 };
5 template<typename T>
6 class zed : public foo {
7 };
8 template<typename T>
9 class bah : public zed<T> {
10 void f() {
11 const_cast<foo *>(this->g())->bar();