diff options
author | David Blaikie <dblaikie@gmail.com> | 2014-05-01 18:25:19 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2014-05-01 18:25:19 +0000 |
commit | 1c286f6d8f77216cc78ea96e80623b189cc2bcd2 (patch) | |
tree | 9a8154b3cecf4d5f05748760628de36cdde284d0 /clang/test/CodeGenCXX/debug-info-alias.cpp | |
parent | 80bec83d8db7ea6c35f2c2cfdfd619ebd290e4e4 (diff) | |
download | bcm5719-llvm-1c286f6d8f77216cc78ea96e80623b189cc2bcd2.tar.gz bcm5719-llvm-1c286f6d8f77216cc78ea96e80623b189cc2bcd2.zip |
PR19623: Support typedefs (and alias templates) of void.
llvm-svn: 207781
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; |