http://llvm.org/bugs/show_bug.cgi?id=11847

Fariborz Jahanian <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                 CC|                            |[email protected]
         Resolution|FIXED                       |---

--- Comment #1 from Fariborz Jahanian <[email protected]> ---
Here is a related test case which crashes with -fms-extensions.

I am not sure what the treatment should be. Two possibilities:
1) Issue error when used in sizeof.
2) Just like c/c++'s undefined struct ignore it when used in sizeof.

struct anon_fault {
    struct undefined;
};

int main()
{
  return sizeof(struct anon_fault);
}

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to