diff options
| author | Devang Patel <dpatel@apple.com> | 2011-04-01 19:02:33 +0000 |
|---|---|---|
| committer | Devang Patel <dpatel@apple.com> | 2011-04-01 19:02:33 +0000 |
| commit | 1ffe23464a1651c052bf82ec9cb21cd66d3d2d63 (patch) | |
| tree | 817d17e00466492fe60acafa332eec3249fbcf53 /clang/test | |
| parent | e625ba46b7201f857c3dd43296b39f864759c52f (diff) | |
| download | bcm5719-llvm-1ffe23464a1651c052bf82ec9cb21cd66d3d2d63.tar.gz bcm5719-llvm-1ffe23464a1651c052bf82ec9cb21cd66d3d2d63.zip | |
Do not try calculate the size of forward-declared template type array.
llvm-svn: 128725
Diffstat (limited to 'clang/test')
| -rw-r--r-- | clang/test/CodeGenCXX/debug-info-template.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/clang/test/CodeGenCXX/debug-info-template.cpp b/clang/test/CodeGenCXX/debug-info-template.cpp index 0ddfc242b10..8560c5a8e9b 100644 --- a/clang/test/CodeGenCXX/debug-info-template.cpp +++ b/clang/test/CodeGenCXX/debug-info-template.cpp @@ -20,3 +20,13 @@ class TU { }; TU<2> u2; + +// PR9600 +template<typename T> class vector {}; +class Foo; +typedef vector<Foo*> FooVector[3]; +struct Test { + virtual void foo(FooVector *); +}; +static Test test; + |

