diff options
Diffstat (limited to 'clang/test/CodeGenObjCXX/2010-08-04-Template.mm')
-rw-r--r-- | clang/test/CodeGenObjCXX/2010-08-04-Template.mm | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/clang/test/CodeGenObjCXX/2010-08-04-Template.mm b/clang/test/CodeGenObjCXX/2010-08-04-Template.mm new file mode 100644 index 0000000..c53e3cb --- /dev/null +++ b/clang/test/CodeGenObjCXX/2010-08-04-Template.mm @@ -0,0 +1,10 @@ +// RUN: %clang_cc1 -emit-llvm %s -o - +struct TRunSoon { + template <class P1> static void Post() {} +}; + +@implementation TPrivsTableViewMainController +- (void) applyToEnclosed { + TRunSoon::Post<int>(); +} +@end |