diff options
author | Stuart Hastings <stuart@apple.com> | 2010-08-04 22:05:38 +0000 |
---|---|---|
committer | Stuart Hastings <stuart@apple.com> | 2010-08-04 22:05:38 +0000 |
commit | 009944e7746444ba599c5c908f00551730bc0120 (patch) | |
tree | af397dde94abb63f71c2b05dab902ece30a41031 /test/FrontendObjC++ | |
parent | 547b6ed16eb67e559bf1149376ca54120eea3651 (diff) | |
download | external_llvm-009944e7746444ba599c5c908f00551730bc0120.zip external_llvm-009944e7746444ba599c5c908f00551730bc0120.tar.gz external_llvm-009944e7746444ba599c5c908f00551730bc0120.tar.bz2 |
Test case for r110250. Radar 8264670. Test case by Fariborz Jahanian!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110254 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/FrontendObjC++')
-rw-r--r-- | test/FrontendObjC++/2010-08-04-Template.mm | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/FrontendObjC++/2010-08-04-Template.mm b/test/FrontendObjC++/2010-08-04-Template.mm new file mode 100644 index 0000000..d038340 --- /dev/null +++ b/test/FrontendObjC++/2010-08-04-Template.mm @@ -0,0 +1,10 @@ +// RUN: %llvmgcc %s -S -emit-llvm +struct TRunSoon { + template <class P1> static void Post() {} +}; + +@implementation TPrivsTableViewMainController +- (void) applyToEnclosed { + TRunSoon::Post<int>(); +} +@end |