Adjust tests to have consistent integer sizes.
authorRichard Trieu <rtrieu@google.com>
Mon, 11 Apr 2016 20:37:04 +0000 (20:37 +0000)
committerRichard Trieu <rtrieu@google.com>
Mon, 11 Apr 2016 20:37:04 +0000 (20:37 +0000)
commit729c8e9793b887e5da77d74488172ddc7b3ca855
tree28c2219a170fa4225f73ee90990357f2843f6791
parentaebe45b31e8962278b74796a9a4ee4f737d0fe03
Adjust tests to have consistent integer sizes.

Add a triple to the run lines so that integers will the same sizes across runs.
Also add a compile time check to ensure the assumptions about sizes are met.

llvm-svn: 265991
clang/test/Sema/integer-overflow.c
clang/test/SemaCXX/integer-overflow.cpp