diff options
Diffstat (limited to 'test/Driver/whole-program-vtables.c')
-rw-r--r-- | test/Driver/whole-program-vtables.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/Driver/whole-program-vtables.c b/test/Driver/whole-program-vtables.c new file mode 100644 index 0000000000000..4ca985e6d71de --- /dev/null +++ b/test/Driver/whole-program-vtables.c @@ -0,0 +1,2 @@ +// RUN: %clang -target x86_64-unknown-linux -fwhole-program-vtables -### %s 2>&1 | FileCheck --check-prefix=NO-LTO %s +// NO-LTO: invalid argument '-fwhole-program-vtables' only allowed with '-flto' |