summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2016-08-20 16:51:33 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2016-08-20 16:51:33 +0000
commitf3b323debc949cf67cb395337fc0d5d5b26c21b9 (patch)
treed53992293b16f139b66f2effb259cbf0a057f031 /llvm/test
parentf9fd63ad39936968e5b81a5ad5d269ffa761604c (diff)
downloadbcm5719-llvm-f3b323debc949cf67cb395337fc0d5d5b26c21b9.tar.gz
bcm5719-llvm-f3b323debc949cf67cb395337fc0d5d5b26c21b9.zip
[Sema] Don't crash on scanf on forward-declared enums.
This is valid in GNU C, which allows pointers to incomplete enums. GCC just pretends that the underlying type is 'int' in those cases, follow that behavior. llvm-svn: 279374
Diffstat (limited to 'llvm/test')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud