| 1 | // RUN: touch %t.o |
|---|---|
| 2 | // |
| 3 | // RUN: %clang -target x86_64-unknown-linux -### %t.o -flto 2>&1 \ |
| 4 | // RUN: -Wl,-plugin-opt=foo -O3 \ |
| 5 | // RUN: -ffunction-sections -fdata-sections \ |
| 6 | // RUN: | FileCheck %s |
| 7 | // CHECK: "-plugin-opt=-function-sections" |
| 8 | // CHECK: "-plugin-opt=-data-sections" |
| 9 |