gcc/testsuite/g++.target/aarch64/pr124126-1.C
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-additional-options "-g" } */ |
| 3 | /* PR target/124126 */ |
| 4 | /* Make sure an array of uint64_t[8] works when |
| 5 | used before the inlcude of arm_acle.h. */ |
| 6 | |
| 7 | typedef unsigned long uint64_t; |
| 8 | void executeSuperscalar(uint64_t (*r)[8]); |
| 9 | |
| 10 | #include "arm_acle.h" |
| 11 | |
| 12 | void initDatasetItem() { |
| 13 | uint64_t rl[8]; |
| 14 | executeSuperscalar(&rl); |
| 15 | } |