[cfe-dev] POD struct

Sebastian Redl sebastian.redl at getdesigned.at
Wed Apr 11 04:57:23 PDT 2012

On 11.04.2012, at 04:44, Matt Fowles wrote:

> Eli~
> I am interested in clang development and this seemed like an easy enough bug to start with so I thought I would try it out.  I have managed to get llvm checked out and building without problems.  I found the tests and have turned the above example into a test in a new file `test/SemaCXX/inner-pod-struct.cpp`.

In general, if you're just fixing a bug, it's better to look for an existing test file that tests the greater functionality, and then add a test case for the bug there. In this case, there should be a file with test cases for VLAs in C++ somewhere; the test cases for this bug should be added there.


More information about the cfe-dev mailing list