Also test error recovery from non-existing file.
This commit is contained in:
parent
39e505288b
commit
c1cf9236c0
@ -6,8 +6,10 @@
|
||||
// LICENSE.TXT for details.
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
// RUN: clang -shared %S/call_lib.c -olibcall_lib%shlibext
|
||||
// RUN: cat %s | %cling -L %p | FileCheck %s
|
||||
// RUN: clang -shared %S/call_lib.c -o%T/libcall_lib%shlibext
|
||||
// RUN: cat %s | %cling -L %T -Xclang -verify 2>&1 | FileCheck %s
|
||||
|
||||
#pragma cling load("DoesNotExistPleaseRecover") // expected-error@1{{'DoesNotExistPleaseRecover' file not found}}
|
||||
|
||||
#pragma cling load("libcall_lib")
|
||||
extern "C" int cling_testlibrary_function();
|
||||
|
Loading…
Reference in New Issue
Block a user