b984b4bfa5
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
21 lines
165 B
C++
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;
|
|
}
|