201
|
1 // $HeadURL$
|
|
2 // $Date$
|
|
3 // $Author$
|
|
4
|
|
5 // @author@ Russ Lewis <spamhole-2001-07-16@deming-os.org>
|
|
6 // @date@ 2004-12-14
|
1489
|
7 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=2566
|
1385
|
8 // @uri@ nntp://news.digitalmars.com/digitalmars.D.bugs:2556
|
201
|
9
|
|
10 module dstress.compile.extern_07;
|
|
11
|
|
12 extern(C) void *wglGetProcAddress(char*);
|
|
13 extern(C) int function() glFunctionFoo;
|
|
14
|
|
15 int main(){
|
|
16 glFunctionFoo = cast(extern(C) int function()) wglGetProcAddress("glFunctionFoo");
|
|
17 return 0;
|
|
18 }
|
|
19
|
|
20
|