• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: not llc -mtriple=i686-- -no-integrated-as < %s 2>&1 | FileCheck %s
2
3@x = global i32 0, align 4
4
5; CHECK: error: constraint 'n' expects an integer constant expression
6define void @foo() {
7  %a = getelementptr i32, i32* @x, i32 1
8  call void asm sideeffect "foo $0", "n"(i32* %a) nounwind
9  ret void
10}
11