diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2020-05-27 13:13:19 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2020-05-27 13:14:17 +0100 |
commit | 116e3cfc7b8ab8afc4bdbc03db6b194413218af7 (patch) | |
tree | a189df9dce328403265309add12ffcc7b2ff236c /gcc/tree-ssa-loop-im.c | |
parent | 764ef40ba185ef9245a209ba9260d1e50bec6934 (diff) | |
download | gcc-116e3cfc7b8ab8afc4bdbc03db6b194413218af7.zip gcc-116e3cfc7b8ab8afc4bdbc03db6b194413218af7.tar.gz gcc-116e3cfc7b8ab8afc4bdbc03db6b194413218af7.tar.bz2 |
libstdc++: Add new testcase for comparison category types
Comparing a comparison category type to anything except a literal 0 is
undefined. This verifies that at least some misuses are diagnosed at
compile time.
* testsuite/18_support/comparisons/categories/zero_neg.cc: New test.
Diffstat (limited to 'gcc/tree-ssa-loop-im.c')
0 files changed, 0 insertions, 0 deletions