1; REQUIRES: x86, plugins, examples 2; UNSUPPORTED: target={{.*windows.*}} 3; RUN: opt -module-summary %s -o %t.o 4; RUN: ld.lld -%loadnewpmbye --lto-newpm-passes="goodbye" -mllvm=%loadbye -mllvm=-wave-goodbye %t.o -o /dev/null 2>&1 | FileCheck %s 5; CHECK: Bye 6 7target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" 8target triple = "x86_64-unknown-linux-gnu" 9@junk = global i32 0 10 11define ptr @somefunk() { 12 ret ptr @junk 13} 14