From: Rafael Espindola Date: Thu, 20 Jan 2011 16:11:21 +0000 (+0000) Subject: Merge test. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ac6a858f6b7df4e83e4ad5921565a0b425ea00c3;p=clang Merge test. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@123914 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/SemaCXX/PR9007.cpp b/test/SemaCXX/PR9007.cpp deleted file mode 100644 index cba9e30162..0000000000 --- a/test/SemaCXX/PR9007.cpp +++ /dev/null @@ -1,7 +0,0 @@ -// RUN: %clang_cc1 -fsyntax-only %s -struct bar { - enum xxx { - yyy = sizeof(struct foo*) - }; - foo *xxx(); -}; diff --git a/test/SemaCXX/crashes.cpp b/test/SemaCXX/crashes.cpp index 87bde2aa93..9b0f19e746 100644 --- a/test/SemaCXX/crashes.cpp +++ b/test/SemaCXX/crashes.cpp @@ -68,3 +68,12 @@ void f() callback op; } } + +namespace PR9007 { + struct bar { + enum xxx { + yyy = sizeof(struct foo*) + }; + foo *xxx(); +}; +}