]> granicus.if.org Git - clang/commitdiff
Move the test for radar 8018252 to
authorFariborz Jahanian <fjahanian@apple.com>
Tue, 24 Aug 2010 22:55:33 +0000 (22:55 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Tue, 24 Aug 2010 22:55:33 +0000 (22:55 +0000)
SemaCXX/expressions.cpp.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@111988 91177308-0d34-0410-b5e6-96231b3b80d8

test/SemaCXX/address-of-register-var.cpp [deleted file]
test/SemaCXX/expressions.cpp

diff --git a/test/SemaCXX/address-of-register-var.cpp b/test/SemaCXX/address-of-register-var.cpp
deleted file mode 100644 (file)
index 5d391c5..0000000
+++ /dev/null
@@ -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);
-}
-
index f3a05c1dbcedc3c5dd5d8643717549b67ae233db..b51194acd9c3c582ae30b0b3298c8cd68186c43f 100644 (file)
@@ -7,3 +7,10 @@ void test() {
   // 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);
+}