1 // Check that
".lto_discard" ignores symbol assignments
and attribute changes
2 // for the specified symbols.
3 // RUN
: llvm-mc
-triple x86_64-pc-linux-gnu
< %s | FileCheck
%s
5 // Check that
".lto_discard" only accepts identifiers.
6 // RUN
: not llvm-mc
-filetype
=obj
-triple x86_64-pc-linux-gnu
--defsym ERR
=1 %s
2>&1 |\
7 // RUN
: FileCheck
%s
--check-prefix
=ERR
9 // CHECK-
NOT: .weak foo
28 # ERR: {{.*}}.s:[[#@LINE+1]]:14: error: expected identifier