// Tester for "issue 64" compliance: upc_barrier argument // Copyright 2013, The Regents of the University of California, // through Lawrence Berkeley National Laboratory (subject to // receipt of any required approvals from U.S. Dept. of Energy) // See the full license terms at // https://upc.lbl.gov/download/dist/LICENSE.TXT #include int main(void) { int x; // This is an implicit pointer -> integer conversion and should be allowed upc_barrier &x; upc_notify &x; upc_wait &x; return 0; }