[cfe-commits] r80419 - /cfe/trunk/test/CXX/temp/temp.decls/temp.friend/p1.cpp
John McCall
rjmccall at apple.com
Fri Aug 28 20:28:21 PDT 2009
Author: rjmccall
Date: Fri Aug 28 22:28:20 2009
New Revision: 80419
URL: http://llvm.org/viewvc/llvm-project?rev=80419&view=rev
Log:
Fix a last-minute typo and make the test not emit temporaries.
Modified:
cfe/trunk/test/CXX/temp/temp.decls/temp.friend/p1.cpp
Modified: cfe/trunk/test/CXX/temp/temp.decls/temp.friend/p1.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CXX/temp/temp.decls/temp.friend/p1.cpp?rev=80419&r1=80418&r2=80419&view=diff
==============================================================================
--- cfe/trunk/test/CXX/temp/temp.decls/temp.friend/p1.cpp (original)
+++ cfe/trunk/test/CXX/temp/temp.decls/temp.friend/p1.cpp Fri Aug 28 22:28:20 2009
@@ -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 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();
}
More information about the cfe-commits
mailing list