diff options
| author | David Blaikie <dblaikie@gmail.com> | 2014-10-18 02:21:26 +0000 |
|---|---|---|
| committer | David Blaikie <dblaikie@gmail.com> | 2014-10-18 02:21:26 +0000 |
| commit | b5c7e6a71d0d28d60a559666656a761f7dc5e7e6 (patch) | |
| tree | 2ce9deb085a28d7233ed2aad906a2e5359fb72d5 /clang/test/CodeGenCXX/debug-info-template.cpp | |
| parent | a38dd8aad27c6d15619ca6c4c83408975fe2361e (diff) | |
| download | bcm5719-llvm-b5c7e6a71d0d28d60a559666656a761f7dc5e7e6.tar.gz bcm5719-llvm-b5c7e6a71d0d28d60a559666656a761f7dc5e7e6.zip | |
PR21305: Typedefs in non-type template parameters in member data pointers.
Patch by Stephen Crane!
llvm-svn: 220122
Diffstat (limited to 'clang/test/CodeGenCXX/debug-info-template.cpp')
| -rw-r--r-- | clang/test/CodeGenCXX/debug-info-template.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/clang/test/CodeGenCXX/debug-info-template.cpp b/clang/test/CodeGenCXX/debug-info-template.cpp index d1b13d03307..126a09f83a8 100644 --- a/clang/test/CodeGenCXX/debug-info-template.cpp +++ b/clang/test/CodeGenCXX/debug-info-template.cpp @@ -97,7 +97,9 @@ struct foo { void f(); }; -template<typename T, T, const int *x, int foo::*a, void (foo::*b)(), void (*f)(), int ...Is> +typedef int foo::*foo_mem; + +template<typename T, T, const int *x, foo_mem a, void (foo::*b)(), void (*f)(), int ...Is> struct TC { struct nested { }; |

