aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/qual-assign-7.c
blob: 3e064e82f5f3cecc2fe5659b2ba76b95b87db88d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* test that assignment drops qualifiers, Bug 98047 */
/* { dg-do compile } */
/* { dg-options "" } */


volatile int jv;
extern int j;
extern typeof(jv = 1) j;

_Atomic int ja;
extern typeof(ja = 1) j;

int * __restrict pa;
extern int *p;
extern typeof(pa = 0) p;