]> gcc.gnu.org Git - gcc.git/blob - gcc/testsuite/c-c++-common/gomp/target-device-2.c
Merge branch 'master' into devel/modula-2.
[gcc.git] / gcc / testsuite / c-c++-common / gomp / target-device-2.c
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" } } */
This page took 0.037921 seconds and 5 git commands to generate.