]> granicus.if.org Git - clang/commitdiff
Turns out that the previous commit also fixes this :-)
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 20 Jan 2011 02:57:51 +0000 (02:57 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 20 Jan 2011 02:57:51 +0000 (02:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@123873 91177308-0d34-0410-b5e6-96231b3b80d8

test/SemaCXX/PR9007.cpp [new file with mode: 0644]

diff --git a/test/SemaCXX/PR9007.cpp b/test/SemaCXX/PR9007.cpp
new file mode 100644 (file)
index 0000000..cba9e30
--- /dev/null
@@ -0,0 +1,7 @@
+// RUN: %clang_cc1 -fsyntax-only  %s
+struct bar {
+  enum xxx {
+    yyy = sizeof(struct foo*)
+  };
+  foo *xxx();
+};