blob: 2a73382dd94b3c982b6fe849907caae95211635c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
/* { dg-do compile } */
/* { dg-options "-O2" } */
/* { dg-final { scan-assembler "abort" } } */
extern void abort (void);
extern char a[];
void foo (void)
{
if ((void *) a == (void *) 0x4000UL)
abort ();
}
|