Douglas Katzman | 3459ce2 | 2015-10-08 04:24:12 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -emit-llvm %s -o /dev/null -debug-info-kind=limited |
Eric Christopher | 925d593 | 2011-08-19 23:17:46 +0000 | [diff] [blame] | 2 | |
Eric Christopher | a82c55e | 2011-08-19 22:16:23 +0000 | [diff] [blame] | 3 | template <typename T1,typename T2> |
| 4 | inline void f(const T1&,const T2&) { } |
| 5 | |
| 6 | template <typename T1,typename T2,void F(const T1&,const T2&)> |
| 7 | struct A { |
| 8 | template <typename T> void g(T& i) { } |
| 9 | }; |
| 10 | |
| 11 | int main() { |
| 12 | int i; |
| 13 | A<int,int,f> a; |
| 14 | a.g(i); |
| 15 | } |