clang/tests/libomp/test.sh
2021-10-21 13:54:44 +00:00

8 lines
107 B
Bash
Executable File

#!/bin/bash
set -exo pipefail
clang -fopenmp openmp-compile-link-test.c
./a.out | grep "Num Threads: 1"