]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/g++.dg/cilk-plus/CK/pr68001.cc
[Patch AArch64] Fixup floating point division with -march=armv8-a+nosimd
[thirdparty/gcc.git] / gcc / testsuite / g++.dg / cilk-plus / CK / pr68001.cc
CommitLineData
8d63c601 1/* PR middle-end/68001 */
2/* { dg-do compile } */
3/* { dg-options "-fcilkplus" } */
4
5#include <vector>
6
7std::vector<double> f() {
8 std::vector<double> v;
9 return v;
10}
11
12int main()
13{
605a4556 14 std::vector<double> x = _Cilk_spawn f ();
8d63c601 15 std::vector<double> y = f();
16 _Cilk_sync;
17 return 0;
18}