Eric Christopher | 723665f | 2011-08-19 22:16:23 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -emit-llvm %s -o /dev/null -g |
2 | // XTARGET: darwin,linux | ||||
3 | // XFAIL: * | ||||
4 | template <typename T1,typename T2> | ||||
5 | inline void f(const T1&,const T2&) { } | ||||
6 | |||||
7 | template <typename T1,typename T2,void F(const T1&,const T2&)> | ||||
8 | struct A { | ||||
9 | template <typename T> void g(T& i) { } | ||||
10 | }; | ||||
11 | |||||
12 | int main() { | ||||
13 | int i; | ||||
14 | A<int,int,f> a; | ||||
15 | a.g(i); | ||||
16 | } |