summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/pch/pch.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.dg/pch/pch.C')
-rw-r--r--gcc/testsuite/g++.dg/pch/pch.C9
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.dg/pch/pch.C b/gcc/testsuite/g++.dg/pch/pch.C
new file mode 100644
index 000000000..9483efad0
--- /dev/null
+++ b/gcc/testsuite/g++.dg/pch/pch.C
@@ -0,0 +1,9 @@
+// { dg-options "-save-temps -fpch-preprocess -I." }
+
+#include "pch.H"
+int main()
+{
+ return 0;
+}
+
+// { dg-final { cleanup-saved-temps ".s" } }