1 ; REQUIRES: plugins, x86-registered-target
2 ; UNSUPPORTED: target={{.*windows.*}}
4 ; RUN: not opt < %s -load-pass-plugin=%t/nonexistent.so -disable-output 2>&1 | FileCheck %s
7 ; RUN: not llvm-lto2 run -load-pass-plugin=%t/nonexistent.so %t.o -o %t \
8 ; RUN: -r %t.o,test 2>&1 | \
11 ; CHECK: Could not load library {{.*}}nonexistent.so
13 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
14 target triple = "x86_64-unknown-linux-gnu"