diff options
Diffstat (limited to 'test/Driver/fplugin.c')
-rw-r--r-- | test/Driver/fplugin.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Driver/fplugin.c b/test/Driver/fplugin.c new file mode 100644 index 000000000000..d0aaa9efe623 --- /dev/null +++ b/test/Driver/fplugin.c @@ -0,0 +1,7 @@ +// Check that all -fplugin arguments are converted to -load + +// RUN: %clang -c %s -fplugin=foo.so -### 2>&1 | FileCheck %s --check-prefix=CHECK1 +// RUN: %clang -c %s -fplugin=foo.so -fplugin=bar.so -### 2>&1 | FileCheck %s --check-prefix=CHECK2 + +// CHECK1: "-load" "foo.so" +// CHECK2: "-load" "foo.so" "-load" "bar.so" |