c++: prvalue of array type [PR111286]
[official-gcc.git] / gcc / testsuite / c-c++-common / gomp / target-device-2.c
blobb711ea15a24654a4d7c621bb9ec7c9ccd7dd3cfb
1 /* { dg-do compile } */
2 /* { dg-additional-options "-fdump-tree-original" } */
4 /* Test to ensure that device-modifier 'device_num' is parsed correctly in
5 device clauses. */
7 void
8 foo (void)
10 #pragma omp target device (device_num : 42)
14 /* { dg-final { scan-tree-dump "pragma omp target \[^\n\r)]*device\\(42\\)" "original" } } */