gcc/testsuite/gcc.dg/pch/pr66343-3.c
raw| 1 | /* PR sanitizer/66343 */ |
| 2 | /* { dg-do assemble } */ |
| 3 | /* { dg-options "-fsanitize=undefined" } */ |
| 4 | |
| 5 | #include "pr66343-3.h" |
| 6 | |
| 7 | void |
| 8 | bar (int a, int b) |
| 9 | { |
| 10 | a / b; |
| 11 | } |
| 12 | |
| 13 | /* Hack to turn off PCH assembly comparison, as it is incompatible |
| 14 | with dg-do assemble. The target condition will be always false. */ |
| 15 | /* { dg-error "" "" { target { lp64 && { ! lp64 } } } } */ |