diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2010-09-17 15:48:55 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2010-09-17 15:48:55 +0000 |
| commit | d39c594d39df7f283c2fb8a704a3f31c501180d9 (patch) | |
| tree | 36453626c792cccd91f783a38a169d610a6b9db9 /test/FrontendObjC++/2010-08-04-Template.mm | |
| parent | 6144c1de6a7674dad94290650e4e14f24d42e421 (diff) | |
Diffstat (limited to 'test/FrontendObjC++/2010-08-04-Template.mm')
| -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 000000000000..d0383406d7e2 --- /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 |
