aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/ss/one.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.dg/ss/one.C')
-rw-r--r--gcc/testsuite/g++.dg/ss/one.C17
1 files changed, 17 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.dg/ss/one.C b/gcc/testsuite/g++.dg/ss/one.C
new file mode 100644
index 00000000000..b75a8ebcd74
--- /dev/null
+++ b/gcc/testsuite/g++.dg/ss/one.C
@@ -0,0 +1,17 @@
+/* Copyright (C) 2005 Free Software Foundation.
+ Contributed by Devang Patel <dpatel@apple.com> */
+
+/* Test simple use of symbol repository.
+ Include file one.h is supplied as one.ssh in this directory,
+ so that ss.exp can pick it up as candidate for making
+ repository. */
+/* { dg-do assemble } */
+
+#include "one.h"
+int main ()
+{
+ struct x_y_point a;
+ a.x = 0;
+ a.y = 0;
+ return 0;
+}