Changeset View
Changeset View
Standalone View
Standalone View
openmp/libomptarget/test/offloading/bug50022.cpp
// RUN: %libomptarget-compilexx-and-run-generic | // RUN: %libomptarget-compilexx-and-run-generic | ||||
// UNSUPPORTED: amdgcn-amd-amdhsa | // UNSUPPORTED: amdgcn-amd-amdhsa | ||||
// UNSUPPORTED: amdgcn-amd-amdhsa-newRTL | |||||
#include <cassert> | #include <cassert> | ||||
#include <iostream> | #include <iostream> | ||||
#include <stdexcept> | #include <stdexcept> | ||||
int main(int argc, char *argv[]) { | int main(int argc, char *argv[]) { | ||||
int a = 0; | int a = 0; | ||||
std::cout << "outside a = " << a << " addr " << &a << std::endl; | std::cout << "outside a = " << a << " addr " << &a << std::endl; | ||||
Show All 30 Lines |