view complex/linking/c.d @ 1619:bebc7472a832

Fix #7.
author Christian Kamm <kamm incasoftware de>
date Sat, 07 Nov 2009 18:55:30 +0100
parents 23834ba9736a
children
line wrap: on
line source

// $HeadURL$
// $Date$
// $Author$

// @author@     Ben Hinkle <ben.hinkle@gmail.com>
// @date@       2004-12-07
// @uri@        news:cp2vjj$1ljt$1@digitaldaemon.com
// @url@        nntp://news.digitalmars.com/digitalmars.D.bugs

module /*dstress.*/ complex.linking.c;

import /*dstress.*/ complex.linking.a;
import /*dstress.*/ complex.linking.b;

void functC() {
	StructA!(int)* x;
	x = new StructA!(int);
	x.set(100);
}

int main() {
	functB();
	functC();
	return 0;
}