clang/tests/libomp/runtest.sh

8 lines
107 B
Bash
Raw Normal View History

2021-02-10 13:48:42 +00:00
#!/bin/bash
set -exo pipefail
clang -fopenmp openmp-compile-link-test.c
./a.out | grep "Num Threads: 1"