Skip to content
Snippets Groups Projects
Commit 8fa39230 authored by Axel Naumann's avatar Axel Naumann
Browse files

Also test error recovery from non-existing file.

parent fccb6817
No related branches found
No related tags found
No related merge requests found
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment