diff options
Diffstat (limited to 'clang/test/CodeGenCXX/debug-info-alias.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/debug-info-alias.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/clang/test/CodeGenCXX/debug-info-alias.cpp b/clang/test/CodeGenCXX/debug-info-alias.cpp index d294a0b0733..fb18ac5da00 100644 --- a/clang/test/CodeGenCXX/debug-info-alias.cpp +++ b/clang/test/CodeGenCXX/debug-info-alias.cpp @@ -27,3 +27,11 @@ narf // CHECK: [[NARF]] = {{.*}} ; [ DW_TAG_typedef ] [narf] [line 142 = int; narf n; +template <typename T> +using tv = void; +// CHECK: null} ; [ DW_TAG_typedef ] [tv<int>] {{.*}} [from ] +tv<int> *tvp; + +using v = void; +// CHECK: null} ; [ DW_TAG_typedef ] [v] {{.*}} [from ] +v *vp; |