gcc/libmudflap/testsuite/libmudflap.c++/ctors-1.cxx
Frank Ch. Eigler b984b4bfa5 Test case for g++/15861
2004-07-09  Frank Ch. Eigler  <fche@redhat.com>

	Test case for g++/15861
	* testsuite/libmudflap.c++/ctors-[12].cxx: New test case halves.
	* testsuite/libmudflap.c++/ctors.exp: Driver.
	* testsuite/libmudflap.c++/c++frags.exp: Elide redundant default.
	Look only for *frag* test cases.

From-SVN: r84392
2004-07-09 19:51:51 +00:00

21 lines
165 B
C++

#include <iostream>
extern char k [];
class foo
{
public:
foo (char *m) { m [40] = 20; }
};
foo f1 (k);
foo f2 (k);
foo f3 (k);
int main ()
{
return 0;
}