diff options
author | John McCall <rjmccall@apple.com> | 2009-08-29 03:28:20 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2009-08-29 03:28:20 +0000 |
commit | 2a29c4b6ef710de49b1fd72902d6930033edae24 (patch) | |
tree | 7db5324a6b9765641389887d1ef4e40078a432f6 | |
parent | f181d8a44f5837213eeaee6d71f584b1ab2849cd (diff) |
Fix a last-minute typo and make the test not emit temporaries.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@80419 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/CXX/temp/temp.decls/temp.friend/p1.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CXX/temp/temp.decls/temp.friend/p1.cpp b/test/CXX/temp/temp.decls/temp.friend/p1.cpp index fe92f4d759..4f0037d470 100644 --- a/test/CXX/temp/temp.decls/temp.friend/p1.cpp +++ b/test/CXX/temp/temp.decls/temp.friend/p1.cpp @@ -1,4 +1,4 @@ -// RUN: clang-cc %s +// RUN: clang-cc -emit-llvm-only %s template <typename T> struct Num { T value_; @@ -38,7 +38,7 @@ int calc1() { int calc2() { Num<int> x = 3; - Num<int>::Rep<char> n = (cast) 10; + Num<int>::Rep<char> n = (char) 10; Num<int> result = x * n; return result.get(); } |