* c-exp.y (DOTDOTDOT): New token.
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / whatis.exp
index 336901d78e292ec89a5635471825be016342da07..9365485367bdc9fa8e33e91c757bb26204091fc1 100644 (file)
@@ -495,3 +495,7 @@ gdb_test "whatis char (*(*)())\[23\]" \
 gdb_test "whatis int (*)(int, int)" \
     "type = int \\(\\*\\)\\(int, int\\)" \
     "whatis applied to pointer to function taking int,int and returning int"
+
+gdb_test "whatis int (*)(const int *, ...)" \
+    "type = int \\(\\*\\)\\(const int \\*, \\.\\.\\.\\)" \
+    "whatis applied to pointer to function taking const int ptr and varargs and returning int"
This page took 0.024314 seconds and 4 git commands to generate.