diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2016-08-20 16:51:33 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2016-08-20 16:51:33 +0000 |
commit | f3b323debc949cf67cb395337fc0d5d5b26c21b9 (patch) | |
tree | d53992293b16f139b66f2effb259cbf0a057f031 /llvm/test | |
parent | f9fd63ad39936968e5b81a5ad5d269ffa761604c (diff) | |
download | bcm5719-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