testcase for previous patch!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@92317 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Sema/builtins.c b/test/Sema/builtins.c
index a232737..7b2f2af 100644
--- a/test/Sema/builtins.c
+++ b/test/Sema/builtins.c
@@ -25,10 +25,11 @@
 
 #define CFSTR __builtin___CFStringMakeConstantString
 void test7() {
-  CFSTR("\242");
-  CFSTR("\0"); // expected-warning {{ CFString literal contains NUL character }}
-  CFSTR(242); // expected-error {{ CFString literal is not a string constant }} expected-warning {{incompatible integer to pointer conversion}}
-  CFSTR("foo", "bar"); // expected-error {{too many arguments to function call}}
+  const void *X;
+  X = CFSTR("\242");
+  X = CFSTR("\0"); // expected-warning {{ CFString literal contains NUL character }}
+  X = CFSTR(242); // expected-error {{ CFString literal is not a string constant }} expected-warning {{incompatible integer to pointer conversion}}
+  X = CFSTR("foo", "bar"); // expected-error {{too many arguments to function call}}
 }