comparison libgomp/testsuite/libgomp.c/nestedfn-2.c @ 0:a06113de4d67

first commit
author kent <kent@cr.ie.u-ryukyu.ac.jp>
date Fri, 17 Jul 2009 14:47:48 +0900
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:a06113de4d67
1 /* { dg-do run } */
2
3 extern void abort (void);
4
5 int
6 main (void)
7 {
8 int i;
9 void
10 foo (void)
11 {
12 #pragma omp master
13 i += 8;
14 }
15 i = 4;
16 foo ();
17 if (i != 12)
18 abort ();
19 return 0;
20 }