brintos

brintos / llvm-project-archived public Read only

0
0
Text · 326 B · 22d9059 Raw
16 lines · cpp
1// RUN: %clang_cc1 -emit-llvm %s -o /dev/null -debug-info-kind=limited2 3template <typename T1,typename T2>4inline void f(const T1&,const T2&) { }5 6template <typename T1,typename T2,void F(const T1&,const T2&)>7struct A {8    template <typename T> void g(T& i) { }9};10 11int main() {12    int i;13    A<int,int,f> a;14    a.g(i);15}16