summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pch/pr66343-1.c
blob: 851f6d9493f5d92769cff35eed2a0ab5f0358f47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* PR sanitizer/66343 */
/* { dg-do assemble } */
/* { dg-options "-fsanitize=undefined" } */

#include "pr66343-1.h"

void
bar (int a, int b)
{
  a / b;
}

/* Hack to turn off PCH assembly comparison, as it is incompatible
   with dg-do assemble.  The target condition will be always false.  */
/* { dg-error "" "" { target { lp64 && { ! lp64 } } } } */