diff options
author | Devang Patel <dpatel@apple.com> | 2009-03-17 19:47:21 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2009-03-17 19:47:21 +0000 |
commit | 203b279f5faf2d46813c4252d867bdaf0017a409 (patch) | |
tree | 9b093e06da1b726730882866100a5343f53dddd7 /test/FrontendC++ | |
parent | 0b18e59336dcb18e036540dd667fed8d17c3cc09 (diff) |
test case for rev. 67095.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67096 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/FrontendC++')
-rw-r--r-- | test/FrontendC++/2009-03-17-dbg.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/FrontendC++/2009-03-17-dbg.cpp b/test/FrontendC++/2009-03-17-dbg.cpp new file mode 100644 index 0000000000..38495561d4 --- /dev/null +++ b/test/FrontendC++/2009-03-17-dbg.cpp @@ -0,0 +1,14 @@ +// RUN: %llvmgxx -c -emit-llvm %s -o /dev/null -g +template <typename T1,typename T2> +inline void f(const T1&,const T2&) { } + +template <typename T1,typename T2,void F(const T1&,const T2&)> +struct A { + template <typename T> void g(T& i) { } +}; + +int main() { + int i; + A<int,int,f> a; + a.g(i); +} |