| 1 |
// { dg-do compile { target c++11 } } |
| 2 |
/* PIC uses .data.rel.ro.local rather than .rodata. */ |
| 3 |
/* { dg-additional-options "-fno-PIE" } */ |
| 4 |
|
| 5 |
#include <initializer_list> |
| 6 |
|
| 7 |
const auto x = { 1, 2 }; |
| 8 |
|
| 9 |
// { dg-final { scan-assembler-not {\.data} { xfail hppa*-*-hpux* powerpc-ibm-aix* } } } |