1 // PR c++/91118
2 // { dg-do compile }
3 // { dg-additional-options "-fsanitize=undefined" }
4 
5 #include <iostream>
6 
7 void
foo()8 foo ()
9 {
10 #pragma omp parallel default(none) shared(std::cerr)
11   std::cerr << "hello" << std::endl;
12 }
13