3 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
4 # RUN: ld.lld %t -plugin-opt=/foo/bar -plugin-opt=-fresolution=zed \
5 # RUN: -plugin-opt=-pass-through=-lgcc -plugin-opt=-function-sections \
6 # RUN: -plugin-opt=-data-sections -o /dev/null
8 # RUN: not ld.lld %t -plugin-opt=-data-sectionssss \
9 # RUN: -plugin-opt=-function-sectionsss 2>&1 | FileCheck %s
10 # CHECK: unknown option: -data-sectionsss
11 # CHECK: unknown option: -function-sectionsss