diff options
author | Ting-Wei Lan <lantw44@gmail.com> | 2015-12-11 15:51:56 +0800 |
---|---|---|
committer | Ting-Wei Lan <lantw44@gmail.com> | 2015-12-11 15:51:56 +0800 |
commit | bf56cb34ff8028610877cf7bc5f7a186ce701b79 (patch) | |
tree | 8bc3727c9b09869bbb1ed4a21ea5709f4a17cb50 /pattern/int-div-by-zero.cmm | |
parent | 6a1784f1c85514c8b5ac529f8db7aed89a461291 (diff) | |
download | compiler2015-bf56cb34ff8028610877cf7bc5f7a186ce701b79.tar compiler2015-bf56cb34ff8028610877cf7bc5f7a186ce701b79.tar.gz compiler2015-bf56cb34ff8028610877cf7bc5f7a186ce701b79.tar.bz2 compiler2015-bf56cb34ff8028610877cf7bc5f7a186ce701b79.tar.lz compiler2015-bf56cb34ff8028610877cf7bc5f7a186ce701b79.tar.xz compiler2015-bf56cb34ff8028610877cf7bc5f7a186ce701b79.tar.zst compiler2015-bf56cb34ff8028610877cf7bc5f7a186ce701b79.zip |
Add some testcases
Diffstat (limited to 'pattern/int-div-by-zero.cmm')
-rw-r--r-- | pattern/int-div-by-zero.cmm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pattern/int-div-by-zero.cmm b/pattern/int-div-by-zero.cmm new file mode 100644 index 0000000..13a855f --- /dev/null +++ b/pattern/int-div-by-zero.cmm @@ -0,0 +1,5 @@ +int array[1/0]; +int array[1.0/0.0]; +int main(void) { + return 0; +} |