Mercurial > hg > CbC > CbC_gcc
view libgomp/testsuite/libgomp.hsa.c/complex-align-2.c @ 114:e234ee7b7292
fix c-parser.c
author | mir3636 |
---|---|
date | Fri, 17 Nov 2017 19:25:43 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
#pragma omp declare target _Complex int *g; #pragma omp end declare target _Complex float f(void); int main () { _Complex int y; #pragma omp target map(from:y) { _Complex int x; g = &x; __imag__ x = 1; __real__ x = 2; y = x; } if ((__imag__ y != 1) || (__real__ y != 2)) __builtin_abort (); return 0; }