[cfe-commits] r111988 - in /cfe/trunk/test/SemaCXX: address-of-register-var.cpp expressions.cpp
Fariborz Jahanian
fjahanian at apple.com
Tue Aug 24 15:55:33 PDT 2010
Author: fjahanian
Date: Tue Aug 24 17:55:33 2010
New Revision: 111988
URL: http://llvm.org/viewvc/llvm-project?rev=111988&view=rev
Log:
Move the test for radar 8018252 to
SemaCXX/expressions.cpp.
Removed:
cfe/trunk/test/SemaCXX/address-of-register-var.cpp
Modified:
cfe/trunk/test/SemaCXX/expressions.cpp
Removed: cfe/trunk/test/SemaCXX/address-of-register-var.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaCXX/address-of-register-var.cpp?rev=111987&view=auto
==============================================================================
--- cfe/trunk/test/SemaCXX/address-of-register-var.cpp (original)
+++ cfe/trunk/test/SemaCXX/address-of-register-var.cpp (removed)
@@ -1,9 +0,0 @@
-// RUN: %clang_cc1 -fsyntax-only -verify %s
-// rdar // 8018252
-
-void f0() {
- extern void f0_1(int*);
- register int x;
- f0_1(&x);
-}
-
Modified: cfe/trunk/test/SemaCXX/expressions.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaCXX/expressions.cpp?rev=111988&r1=111987&r2=111988&view=diff
==============================================================================
--- cfe/trunk/test/SemaCXX/expressions.cpp (original)
+++ cfe/trunk/test/SemaCXX/expressions.cpp Tue Aug 24 17:55:33 2010
@@ -7,3 +7,10 @@
// Result of ! must be type bool.
int i = choice(!1);
}
+
+// rdar://8018252
+void f0() {
+ extern void f0_1(int*);
+ register int x;
+ f0_1(&x);
+}
More information about the cfe-commits
mailing list