You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
483 B
10 lines
483 B
7 months ago
|
# FIXME: Disabled on Windows because -fPIC cannot be used to compile for Windows.
|
||
|
UNSUPPORTED: windows
|
||
|
RUN: %cpp_compiler %S/DSO1.cpp -fPIC %ld_flags_rpath_so1 -shared -o %dynamiclib1
|
||
|
RUN: %cpp_compiler %S/DSO2.cpp -fPIC %ld_flags_rpath_so2 -shared -o %dynamiclib2
|
||
|
RUN: %cpp_compiler %S/DSOTestMain.cpp %S/DSOTestExtra.cpp %ld_flags_rpath_exe1 %ld_flags_rpath_exe2 -o %t-DSOTest
|
||
|
|
||
|
RUN: not %run %t-DSOTest 2>&1 | FileCheck %s --check-prefix=DSO
|
||
|
DSO: INFO: Loaded 3 modules
|
||
|
DSO: BINGO
|