From 36c49e3f258dced101949edabd72e9bc3f1dedc4 Mon Sep 17 00:00:00 2001 From: dim <dim@FreeBSD.org> 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/CodeGen/exprs.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'test/CodeGen/exprs.c') diff --git a/test/CodeGen/exprs.c b/test/CodeGen/exprs.c index 7cc1134..c9978b8 100644 --- a/test/CodeGen/exprs.c +++ b/test/CodeGen/exprs.c @@ -145,3 +145,10 @@ double f13(double X) { // CHECK: fsub double -0.0 return -X; } + +// Check operations on incomplete types. +struct s14; +void f14(struct s13 *a) { + (void) &*a; +} + -- cgit v1.1