llvm-project
13 строк · 443.0 Байт
1; REQUIRES: x86
2; RUN: llvm-as %s -o %t.obj
3
4; RUN: lld-link %t.obj -entry:main -opt:ltodebugpassmanager 2>&1 | FileCheck %s --check-prefix=ENABLED
5; ENABLED: Running pass: InstCombinePass
6
7target datalayout = "e-m:w-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
8target triple = "x86_64-pc-windows-msvc19.11.0"
9
10define dso_local i32 @main(i32 %argc, ptr nocapture readnone %0) local_unnamed_addr {
11entry:
12ret i32 %argc
13}
14