Debian Codegraph @

gcc/testsuite/c-c++-common/gomp/target-device-2.c

raw
1 /* { dg-do compile } */
2 /* { dg-additional-options "-fdump-tree-original" } */
3
4 /* Test to ensure that device-modifier 'device_num' is parsed correctly in
5 device clauses. */
6
7 void
8 foo (void)
9 {
10 #pragma omp target device (device_num : 42)
11 ;
12 }
13
14 /* { dg-final { scan-tree-dump "pragma omp target \[^\n\r)]*device\\(42\\)" "original" } } */