re PR c++/36107 (weak constructor produces invalid asm)
2012-10-11 Paolo Carlini <paolo.carlini@oracle.com> PR c++/36107 * g++.dg/ext/weak5.C: New. From-SVN: r192361
This commit is contained in:
parent
5172408967
commit
2ef3fcf7cb
@ -1,3 +1,8 @@
|
||||
2012-10-11 Paolo Carlini <paolo.carlini@oracle.com>
|
||||
|
||||
PR c++/36107
|
||||
* g++.dg/ext/weak5.C: New.
|
||||
|
||||
2012-10-11 Marc Glisse <marc.glisse@inria.fr>
|
||||
|
||||
PR testsuite/54868
|
||||
|
12
gcc/testsuite/g++.dg/ext/weak5.C
Normal file
12
gcc/testsuite/g++.dg/ext/weak5.C
Normal file
@ -0,0 +1,12 @@
|
||||
// PR c++/36107
|
||||
// { dg-do assemble }
|
||||
// { dg-require-weak "" }
|
||||
|
||||
class Test {
|
||||
public:
|
||||
Test() __attribute__((weak));
|
||||
};
|
||||
|
||||
void test() {
|
||||
Test test;
|
||||
}
|
Loading…
Reference in New Issue
Block a user