commit | 0ce34c6ba0aa79708a62179c0fdf96891b62b5dc | [log] [tgz] |
---|---|---|
author | Devang Patel <dpatel@apple.com> | Wed Feb 02 22:36:18 2011 +0000 |
committer | Devang Patel <dpatel@apple.com> | Wed Feb 02 22:36:18 2011 +0000 |
tree | 03849a11fcd87efdeab7fef55369b35dd00c3e49 | |
parent | aa596e877062ddd45d65705622a58587c5ba54b6 [diff] [blame] |
Emit debug info for template value parameters. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124756 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGenCXX/debug-info-template.cpp b/test/CodeGenCXX/debug-info-template.cpp index 3fbfebf..0ddfc24 100644 --- a/test/CodeGenCXX/debug-info-template.cpp +++ b/test/CodeGenCXX/debug-info-template.cpp
@@ -11,3 +11,12 @@ }; TC<int> tci; + +//CHECK: TU<2> +//CHECK: DW_TAG_template_value_parameter +template<unsigned > +class TU { + int b; +}; + +TU<2> u2;