1f447a6b5SAmaury Sechet; RUN: llvm-as < %s | llvm-dis > %t.orig 2f447a6b5SAmaury Sechet; RUN: llvm-as < %s | llvm-c-test --echo > %t.echo 3f447a6b5SAmaury Sechet; RUN: diff -w %t.orig %t.echo 4*ad659c34SJeroen Ketema; RUN: llvm-as < %s | llvm-c-test --test-diagnostic-handler 2>&1 | FileCheck %s 5*ad659c34SJeroen Ketema; CHECK: Diagnostic handler was not called while loading module 6