Test case for r110250. Radar 8264670. Test case by Fariborz Jahanian!
authorStuart Hastings <stuart@apple.com>
Wed, 4 Aug 2010 22:05:38 +0000 (22:05 +0000)
committerStuart Hastings <stuart@apple.com>
Wed, 4 Aug 2010 22:05:38 +0000 (22:05 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110254 91177308-0d34-0410-b5e6-96231b3b80d8

test/FrontendObjC++/2010-08-04-Template.mm [new file with mode: 0644]

diff --git a/test/FrontendObjC++/2010-08-04-Template.mm b/test/FrontendObjC++/2010-08-04-Template.mm
new file mode 100644 (file)
index 0000000..d038340
--- /dev/null
@@ -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