Debian Codegraph @

gcc/testsuite/gcc.target/arc/pic-1.c

raw
1 /* Tests how complex pic constant expressions are handled. */
2 /* { dg-do assemble } */
3 /* { dg-skip-if "PIC not available for ARC6xx" { arc6xx } } */
4 /* { dg-options "-mno-sdata -w -Os -fpic" } */
5
6 void e (char);
7
8 void
9 a() {
10 char *b = "";
11 char c;
12 int d = &c - " \n\t\v\b\r\f\a/\0";
13 e(b[d]);
14 }