From 009944e7746444ba599c5c908f00551730bc0120 Mon Sep 17 00:00:00 2001 From: Stuart Hastings Date: Wed, 4 Aug 2010 22:05:38 +0000 Subject: [PATCH] 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 --- test/FrontendObjC++/2010-08-04-Template.mm | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test/FrontendObjC++/2010-08-04-Template.mm diff --git a/test/FrontendObjC++/2010-08-04-Template.mm b/test/FrontendObjC++/2010-08-04-Template.mm new file mode 100644 index 00000000000..d0383406d7e --- /dev/null +++ b/test/FrontendObjC++/2010-08-04-Template.mm @@ -0,0 +1,10 @@ +// RUN: %llvmgcc %s -S -emit-llvm +struct TRunSoon { + template static void Post() {} +}; + +@implementation TPrivsTableViewMainController +- (void) applyToEnclosed { + TRunSoon::Post(); +} +@end