diff options
Diffstat (limited to 'test/FrontendC++/2004-06-08-LateTemplateInstantiation.cpp')
-rw-r--r-- | test/FrontendC++/2004-06-08-LateTemplateInstantiation.cpp | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/test/FrontendC++/2004-06-08-LateTemplateInstantiation.cpp b/test/FrontendC++/2004-06-08-LateTemplateInstantiation.cpp deleted file mode 100644 index 4ad4c7d..0000000 --- a/test/FrontendC++/2004-06-08-LateTemplateInstantiation.cpp +++ /dev/null @@ -1,19 +0,0 @@ -// RUN: %llvmgxx -S %s -o - | llvm-as -o /dev/null - - - -template<typename Ty> -struct normal_iterator { - int FIELD; -}; - -void foo(normal_iterator<int>); -normal_iterator<int> baz(); - -void bar() { - foo(baz()); -} - -void *bar2() { - return (void*)foo; -} |