This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/51674] No errors on non-existent symbol in constructor
- From: "so.townsend at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 24 Dec 2011 14:02:34 +0000
- Subject: [Bug c++/51674] No errors on non-existent symbol in constructor
- Auto-submitted: auto-generated
- References: <bug-51674-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51674
--- Comment #1 from So Townsend <so.townsend at gmail dot com> 2011-12-24 14:02:34 UTC ---
Comment on attachment 26183
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26183
Example of problem
>#include <iostream>
>
>class Foo
>{
>public:
> Foo()
> {
> Foo(a);
> }
>
> Foo(int x)
> {
> }
>};
>
>int main()
>{
> Foo f;
> return 0;
>}