add test case for ignoring -flto=auto and -flto=jobserver
authorMatthias Klose <doko@ubuntu.com>
Thu, 15 Apr 2021 10:18:25 +0000 (12:18 +0200)
committerSylvestre Ledru <sylvestre@debian.org>
Thu, 15 Apr 2021 10:19:14 +0000 (12:19 +0200)
as requested in https://reviews.llvm.org/D99501, test that the two new options are ignored.

Reviewed By: tejohnson, fhahn

Differential Revision: https://reviews.llvm.org/D100484

clang/test/Driver/clang_f_opts.c

index 3ea9410..9da9f5e 100644 (file)
 // RUN:     -fno-delete-null-pointer-checks -fdelete-null-pointer-checks      \
 // RUN:     -fno-inline-small-functions -finline-small-functions              \
 // RUN:     -fno-fat-lto-objects -ffat-lto-objects                            \
+// RUN:     -flto=auto -flto=jobserver                                        \
 // RUN:     -fno-merge-constants -fmerge-constants                            \
 // RUN:     -fno-caller-saves -fcaller-saves                                  \
 // RUN:     -fno-reorder-blocks -freorder-blocks                              \