PR c++/13356
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.cp / converts.cc
index 26a45f552086fc71119910884ce8b87ec8e9cf42..ecebbf80a67ceaa835fc3a0ff831eabf823c9dbc 100644 (file)
@@ -27,6 +27,10 @@ int foo3_1 (int a, const char **b) { return 31; }
 int foo3_2 (int a, int b) { return 32; }
 int foo3_2 (int a, const char **b) { return 320; }
 
+int foo1_type_check (char *a) { return 1000; }
+int foo2_type_check (char *a, char *b) { return 1001; }
+int foo3_type_check (char *a, char *b, char *c) { return 1002; }
+
 int main()
 {
 
@@ -62,5 +66,9 @@ int main()
   foo3_2 (0, static_cast<char const**> (0));
   foo3_2 (0, 0);
 
+  foo1_type_check (a);
+  foo2_type_check (a, a);
+  foo3_type_check (a, a, a);
+
   return 0;          // end of main
 }
This page took 0.027272 seconds and 4 git commands to generate.