]> granicus.if.org Git - clang/commit
Remove the part of test/Sema/pragma-pack-2.c that has irregular "#pragma pack"s.
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Sat, 10 Mar 2012 03:20:52 +0000 (03:20 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Sat, 10 Mar 2012 03:20:52 +0000 (03:20 +0000)
commitcb00cc44dd6a2a24b8b46e88b9e57a12a38a626b
tree2378ed7ca93fe7236370bbffb60c28bd6dbd200a
parentdd2ecee313b558a9b621ec003b45e0fbc83508d7
Remove the part of test/Sema/pragma-pack-2.c that has irregular "#pragma pack"s.

Before r151307 this part worked without compiler errors but now it only verifies
that our handling of irregular pragmas is broken compared to gcc, it has no
practical usefulness; it creates invalid structs that cannot be used for 'offsetof' testing.

If we later decide to handle irregular pragmas without compiler errors we can
put back this part.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152480 91177308-0d34-0410-b5e6-96231b3b80d8
test/Sema/pragma-pack-2.c