comparison gcc/testsuite/gcc.dg/pr18241-5.c @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
comparison
equal deleted inserted replaced
68:561a7518be6b 111:04ced10e8804
1 /* { dg-do run } */
2 /* { dg-options "-O1" } */
3
4 void abort (void);
5
6 int main ()
7 {
8 int a;
9 volatile int *b = &a;
10 a = 1;
11 if (*b != 1)
12 abort ();
13 return 0;
14 }