Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/c-c++-common/goacc/uninit-use-device-clause.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
line wrap: on
line source
/* Test fails due to PR70388. */ /* { dg-do compile } */ /* { dg-excess-errors "PR70388" { xfail *-*-* } } */ /* { dg-additional-options "-Wuninitialized" } */ void foo (void) { int i; #pragma acc host_data use_device(i) /* { dg-warning "is used uninitialized in this function" "" { xfail *-*-* } } */ { } }