diff options
author | Alexey Bataev <a.bataev@hotmail.com> | 2014-03-06 05:43:53 +0000 |
---|---|---|
committer | Alexey Bataev <a.bataev@hotmail.com> | 2014-03-06 05:43:53 +0000 |
commit | 186b28a8cf16e8ab92d88bff287773e508b7377c (patch) | |
tree | 4f639b6e6597172d225f039b3120a51c66db4dd0 /clang/test/OpenMP/predefined_macro.c | |
parent | 90097491ed557b6140dab4d5989beae66d0a9ad1 (diff) | |
download | bcm5719-llvm-186b28a8cf16e8ab92d88bff287773e508b7377c.tar.gz bcm5719-llvm-186b28a8cf16e8ab92d88bff287773e508b7377c.zip |
[OPENMP] Added option -fopenmp=libiomp5|libgomp
llvm-svn: 203081
Diffstat (limited to 'clang/test/OpenMP/predefined_macro.c')
-rw-r--r-- | clang/test/OpenMP/predefined_macro.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/clang/test/OpenMP/predefined_macro.c b/clang/test/OpenMP/predefined_macro.c index 3a811862096..06f98793fb9 100644 --- a/clang/test/OpenMP/predefined_macro.c +++ b/clang/test/OpenMP/predefined_macro.c @@ -1,32 +1,32 @@ -// RUN: %clang_cc1 -fopenmp -verify -DFOPENMP -o - %s +// RUN: %clang_cc1 -fopenmp=libiomp5 -verify -DFOPENMP -o - %s // RUN: %clang_cc1 -verify -o - %s // expected-no-diagnostics #ifdef FOPENMP -// -fopenmp option is specified +// -fopenmp=libiomp5 option is specified #ifndef _OPENMP #error "No _OPENMP macro is defined with -fopenmp option" #elsif _OPENMP != 201107 #error "_OPENMP has incorrect value" #endif //_OPENMP #else -// No -fopenmp option is specified +// No -fopenmp=libiomp5 option is specified #ifdef _OPENMP #error "_OPENMP macro is defined without -fopenmp option" #endif // _OPENMP #endif // FOPENMP -// RUN: %clang_cc1 -fopenmp -verify -DFOPENMP -o - %s +// RUN: %clang_cc1 -fopenmp=libiomp5 -verify -DFOPENMP -o - %s // RUN: %clang_cc1 -verify -o - %s // expected-no-diagnostics #ifdef FOPENMP -// -fopenmp option is specified +// -fopenmp=libiomp5 option is specified #ifndef _OPENMP #error "No _OPENMP macro is defined with -fopenmp option" #elsif _OPENMP != 201107 #error "_OPENMP has incorrect value" #endif // _OPENMP #else -// No -fopenmp option is specified +// No -fopenmp=libiomp5 option is specified #ifdef _OPENMP #error "_OPENMP macro is defined without -fopenmp option" #endif // _OPENMP |