summaryrefslogtreecommitdiff
path: root/tests/lib1/isystem-sysroot-prefixed.pc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib1/isystem-sysroot-prefixed.pc')
-rw-r--r--tests/lib1/isystem-sysroot-prefixed.pc4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/lib1/isystem-sysroot-prefixed.pc b/tests/lib1/isystem-sysroot-prefixed.pc
new file mode 100644
index 000000000000..236678af57fa
--- /dev/null
+++ b/tests/lib1/isystem-sysroot-prefixed.pc
@@ -0,0 +1,4 @@
+Name: isystem-sysroot-prefixed
+Description: -isystem path already begins with the configured sysroot; sysroot must not be injected a second time (regression test for off-by-one in should_inject_sysroot_child)
+Version: 1
+Cflags: -isystem /s/usr/include