summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/cpp/System
diff options
context:
space:
mode:
authordpatel <dpatel@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-24 17:47:32 +0000
committerdpatel <dpatel@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-24 17:47:32 +0000
commit70593ce1fcb64d433107932af0211c961d7ec07c (patch)
treeea366309ad8043d0c8ca90046334475e8522bf10 /gcc/testsuite/gcc.dg/cpp/System
parentbd897384a0835ada7ae79ec0bd9dcd803e519adc (diff)
downloadgcc-70593ce1fcb64d433107932af0211c961d7ec07c.tar.gz
PR/18555
* gcc.h (DEFAULT_WORD_SWITCH_TAKES_ARG): Add isysroot. * config/darwin-c.c (darwin_register_frameworks): Use sysroot. testsuite * gcc.dg/cpp/isysroot-1.c: New test. * gcc.dg/cpp/usr/include/stdio.h: New file. * gcc.dg/cpp/isysroot-2.c: New test. * gcc.dg/cpp/System/Library/Framework/Carbon.framework/Headers/Carbon.h: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91178 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.dg/cpp/System')
-rw-r--r--gcc/testsuite/gcc.dg/cpp/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/cpp/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h b/gcc/testsuite/gcc.dg/cpp/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h
new file mode 100644
index 00000000000..4259c3718fa
--- /dev/null
+++ b/gcc/testsuite/gcc.dg/cpp/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h
@@ -0,0 +1,4 @@
+/* Used by gcc.dg/cpp/isysroot-2.c to test isysroot. */
+void foo()
+{
+}