From: Rafael Espindola Date: Thu, 20 Jan 2011 02:57:51 +0000 (+0000) Subject: Turns out that the previous commit also fixes this :-) X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=15c6c0ef323fd60bcf4d8a975eea58713c3736ca;p=clang Turns out that the previous commit also fixes this :-) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@123873 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/SemaCXX/PR9007.cpp b/test/SemaCXX/PR9007.cpp new file mode 100644 index 0000000000..cba9e30162 --- /dev/null +++ b/test/SemaCXX/PR9007.cpp @@ -0,0 +1,7 @@ +// RUN: %clang_cc1 -fsyntax-only %s +struct bar { + enum xxx { + yyy = sizeof(struct foo*) + }; + foo *xxx(); +};