about summary refs log tree commit diff
path: root/src/test/debuginfo
diff options
context:
space:
mode:
authorBjörn Steinbrink <bsteinbr@gmail.com>2015-07-13 21:48:07 +0200
committerBjörn Steinbrink <bsteinbr@gmail.com>2015-07-18 12:43:37 +0200
commit1373c4fcf21930a22150210200bdc14f5f935b3c (patch)
tree87bdc45888549e505763924625c3366b54e1a3c7 /src/test/debuginfo
parent3f50dca3865fa510a1d80c94f2272c5ff78dc373 (diff)
downloadrust-1373c4fcf21930a22150210200bdc14f5f935b3c.tar.gz
rust-1373c4fcf21930a22150210200bdc14f5f935b3c.zip
Properly create debug info for functions
We're currently using the actual function type as the return type when
creating the debug info for a function, so we're actually creating
debug info for a function that takes the same parameters, and returns
the actual function type, which is completely wrong.
Diffstat (limited to 'src/test/debuginfo')
-rw-r--r--src/test/debuginfo/basic-types-metadata.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/debuginfo/basic-types-metadata.rs b/src/test/debuginfo/basic-types-metadata.rs
index 0134a058c99..57dabadfbd5 100644
--- a/src/test/debuginfo/basic-types-metadata.rs
+++ b/src/test/debuginfo/basic-types-metadata.rs
@@ -43,7 +43,7 @@
 // gdb-command:whatis f64
 // gdb-check:type = f64
 // gdb-command:info functions _yyy
-// gdb-check:[...]![...]_yyy([...])([...]);
+// gdb-check:[...]![...]_yyy([...]);
 // gdb-command:continue
 
 #![allow(unused_variables)]