summaryrefslogtreecommitdiffstats
path: root/libiberty/testsuite
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2011-10-10 20:34:20 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2011-10-10 20:34:20 +0000
commit94dcf771e93845c49f1e228030910f0b3b32a937 (patch)
tree4a566dbff6b04c89e85d40174e4517b0789d6853 /libiberty/testsuite
parentea2885f433bdc2b9c2e14b76172200197c706fb5 (diff)
downloadppe42-gcc-94dcf771e93845c49f1e228030910f0b3b32a937.tar.gz
ppe42-gcc-94dcf771e93845c49f1e228030910f0b3b32a937.zip
PR c++/48665
* cp-demangle.c (d_cv_qualifiers): If qualifiers are applied to a function type, change them to apply to the "this" parameter. * testsuite/demangle-expected: Add test case. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179772 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libiberty/testsuite')
-rw-r--r--libiberty/testsuite/demangle-expected5
1 files changed, 5 insertions, 0 deletions
diff --git a/libiberty/testsuite/demangle-expected b/libiberty/testsuite/demangle-expected
index 64ccb929680..70abf681ae8 100644
--- a/libiberty/testsuite/demangle-expected
+++ b/libiberty/testsuite/demangle-expected
@@ -4198,3 +4198,8 @@ f1<int>
_Z3fooi._omp_cpyfn.6
foo(int) [clone ._omp_cpyfn.6]
foo
+#
+--format=gnu-v3 --no-params
+_Z1fIKFvvES0_Evv
+void f<void () const, void ()>()
+f<void () const, void ()>
OpenPOWER on IntegriCloud