diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-03-13 03:49:57 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-03-13 03:49:57 +0000 |
commit | 34fd284e0a6ea88b98d6e1183548264bab5b3702 (patch) | |
tree | 8e7c669be5f0d81236f4d52de0766d584723e8d1 /test/CodeGenCXX/explicit-instantiation.cpp | |
parent | 8721360da5cf3d5dfdc2fc2bf8d53a5f79307995 (diff) |
Re-revert the explicit template instantiation linkage patch. I am beginning to look incompetent
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@98425 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/explicit-instantiation.cpp')
-rw-r--r-- | test/CodeGenCXX/explicit-instantiation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGenCXX/explicit-instantiation.cpp b/test/CodeGenCXX/explicit-instantiation.cpp index 0b1712e062..ab9174e8f4 100644 --- a/test/CodeGenCXX/explicit-instantiation.cpp +++ b/test/CodeGenCXX/explicit-instantiation.cpp @@ -1,4 +1,5 @@ -// RUN: %clang_cc1 -emit-llvm -triple i686-pc-linux-gnu -o - %s | FileCheck %s +// RUN: %clang_cc1 -emit-llvm -triple i686-pc-linux-gnu -o %t %s +// RUN: grep "define i32 @_ZNK4plusIillEclERKiRKl" %t | count 1 template<typename T, typename U, typename Result> struct plus { @@ -10,5 +11,4 @@ Result plus<T, U, Result>::operator()(const T& t, const U& u) const { return t + u; } -// CHECK: define linkonce_odr i32 @_ZNK4plusIillEclERKiRKl template struct plus<int, long, long>; |