Move the test for radar 8018252 to
SemaCXX/expressions.cpp.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@111988 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/SemaCXX/address-of-register-var.cpp b/test/SemaCXX/address-of-register-var.cpp
deleted file mode 100644
index 5d391c5..0000000
--- a/test/SemaCXX/address-of-register-var.cpp
+++ /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);
-}
-
diff --git a/test/SemaCXX/expressions.cpp b/test/SemaCXX/expressions.cpp
index f3a05c1..b51194a 100644
--- a/test/SemaCXX/expressions.cpp
+++ b/test/SemaCXX/expressions.cpp
@@ -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);
+}