brintos

brintos / llvm-project-archived public Read only

0
0
Text · 397 B · 6c4f370 Raw
13 lines · cpp
1// RUN: %clang_cc1 -emit-llvm -fdelayed-template-parsing -std=c++11 -o - -triple=i386-pc-win32 %s > %t2// RUN: FileCheck %s < %t3 4// PR206715namespace vtable_referenced_from_template {6struct ImplicitCtor {7  virtual ~ImplicitCtor();8};9template <class T> void foo(T t) { new ImplicitCtor; }10void bar() { foo(0); }11// CHECK: store {{.*}} @"??_7ImplicitCtor@vtable_referenced_from_template@@6B@"12}13