From 36c49e3f258dced101949edabd72e9bc3f1dedc4 Mon Sep 17 00:00:00 2001 From: dim Date: Fri, 17 Sep 2010 15:54:40 +0000 Subject: Vendor import of clang r114020 (from the release_28 branch): http://llvm.org/svn/llvm-project/cfe/branches/release_28@114020 Approved by: rpaulo (mentor) --- test/SemaCXX/expressions.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'test/SemaCXX/expressions.cpp') 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 @@ 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); +} -- cgit v1.1