aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.4.3/libmudflap/testsuite/libmudflap.c++/ctors-1.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.4.3/libmudflap/testsuite/libmudflap.c++/ctors-1.cxx')
-rw-r--r--gcc-4.4.3/libmudflap/testsuite/libmudflap.c++/ctors-1.cxx20
1 files changed, 20 insertions, 0 deletions
diff --git a/gcc-4.4.3/libmudflap/testsuite/libmudflap.c++/ctors-1.cxx b/gcc-4.4.3/libmudflap/testsuite/libmudflap.c++/ctors-1.cxx
new file mode 100644
index 000000000..7717c805c
--- /dev/null
+++ b/gcc-4.4.3/libmudflap/testsuite/libmudflap.c++/ctors-1.cxx
@@ -0,0 +1,20 @@
+#include <iostream>
+
+
+extern char k [];
+
+class foo
+{
+ public:
+ foo (char *m) { m [40] = 20; }
+};
+
+
+foo f1 (k);
+foo f2 (k);
+foo f3 (k);
+
+int main ()
+{
+ return 0;
+}