8sa1-gcc/gcc/testsuite/g++.old-deja/g++.other/static9.C
Mark Mitchell f8191e640d pt.c (tsubst_expr): Set DECL_TEMPLATE_INSTANTIATED for a catch paramter.
* pt.c (tsubst_expr): Set DECL_TEMPLATE_INSTANTIATED for a catch
	paramter.

	* semantics.c (expand_stmt): Don't pretend to have asmspecs for
	local statics if we don't really have them.

	* ir.texi: Improve documentation for STMT_EXPR.  Describe
	CLEANUP_POINT_EXPR.

From-SVN: r29863
1999-10-08 05:42:36 +00:00

18 lines
202 B
C

// Build don't link:
// Origin: Ulrich Drepper <drepper@cygnus.com>
struct st
{
int a, b, c, d;
};
void g ()
{
static const st i = { 0,1,2,3 };
}
void h ()
{
static const st i = { 0,1,2,3 };
}