re PR c++/34749 (Incorrect warning when applying dllimport to friend function)
authorDanny Smith <dannysmith@users.sourceforge.net>
Sun, 24 Feb 2008 09:19:39 +0000 (09:19 +0000)
committerDanny Smith <dannysmith@gcc.gnu.org>
Sun, 24 Feb 2008 09:19:39 +0000 (09:19 +0000)
commitbdd6df52bdc1e3f280377f91f7c3a5e825a7461e
tree40c61febe42d8e42bc09fb68c73f43dc0b9b2dc6
parent153fbec8c7fa71a3da7368b8b0640ef910c30063
re PR c++/34749 (Incorrect warning when applying dllimport to friend function)

cp
PR c++/34749
* friend.c (do_friend): Call cplus_decl_attributes earlier.

testsuite
PR c++/34749
* g++.dg.ext/dllimport13.C: New test.

From-SVN: r132585
gcc/cp/ChangeLog
gcc/cp/friend.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/dllimport13.C [new file with mode: 0644]