Apparently, sometimes llvm-nm doesn't put the undefined symbol at the top. Take

that into account and test for no U's showing up in the middle, which is what
we really wanted to test for.

llvm-svn: 141653
This commit is contained in:
Nick Lewycky 2011-10-11 06:58:11 +00:00
parent 603cc851f8
commit 3e01bd3b60
1 changed files with 1 additions and 2 deletions

View File

@ -1,9 +1,8 @@
// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o %t
// RUN: llvm-nm %t | FileCheck %s
// CHECK: U
// CHECK-NOT: U
// CHECK: s000a
// CHECK-NOT: U
// CHECK: szzzb
.section saaaa