(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
s390/
litpool-str-1.c
       1  /* Make sure strings are recognized as being accessible through larl.
       2     This requires the symbol ref alignment properly propagated to
       3     encode_section_info.  */
       4  
       5  /* { dg-do compile } */
       6  /* { dg-options "-march=z900 -O2 -fpic" } */
       7  
       8  
       9  extern void foo(const char*, const char*, const char*);
      10  
      11  void bar(int i)
      12  {
      13    const char t1[10] = "test";
      14    const char t2[10] = "test2";
      15    const char t3[2][10] = {
      16         "foofoofoo",
      17         "barbarbar",
      18      };
      19    foo(t1, t2, t3[i]);
      20  }
      21  
      22  /* { dg-final { scan-assembler-not "GOTOFF" } } */