]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/g++.dg/cilk-plus/CK/pr69048.cc
b6c57fca9a453b6555f9ac06bae35c6130d20e2f
[thirdparty/gcc.git] / gcc / testsuite / g++.dg / cilk-plus / CK / pr69048.cc
1 /* { dg-do compile } */
2 /* { dg-options "-fcilkplus" } */
3
4 struct A {
5 ~A () {}
6 };
7
8 A f () {
9 return A ();
10 }
11
12 void t1 () {
13 _Cilk_spawn f ();
14 }