commit | d19c1c0d6d0c91ef729475392835d0982955d14f | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Thu Dec 18 01:12:00 2008 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Thu Dec 18 01:12:00 2008 +0000 |
tree | 06fd8b299961d495b2342b9c5922b6aa263e444b | |
parent | 49c44fa0144aaf6eb12a6f84b01e6ef813515667 [diff] [blame] |
implement PR3177 - "__extension__ union" not supported in C++ mode llvm-svn: 61180
diff --git a/clang/test/Parser/cxx-class.cpp b/clang/test/Parser/cxx-class.cpp index 5afa8d6..39b787f 100644 --- a/clang/test/Parser/cxx-class.cpp +++ b/clang/test/Parser/cxx-class.cpp
@@ -27,3 +27,12 @@ { struct local {}; } + +// PR3177 +typedef union { + __extension__ union { + int a; + float b; + } y; +} bug3177; +