From 15c6c0ef323fd60bcf4d8a975eea58713c3736ca Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Thu, 20 Jan 2011 02:57:51 +0000 Subject: [PATCH] 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 --- test/SemaCXX/PR9007.cpp | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 test/SemaCXX/PR9007.cpp 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(); +}; -- 2.40.0