From-SVN: r23078
This commit is contained in:
Jason Merrill 1998-10-13 22:59:09 -04:00
parent 7f7c930eec
commit 902648f892

View file

@ -0,0 +1,14 @@
// Build don't link:
// From: Klaus-Georg Adams <Klaus-Georg.Adams@chemie.uni-karlsruhe.de>
extern "C"
{
typedef struct {int dummy[10];} *GDBM_FILE;
extern GDBM_FILE gdbm_open();
}
typedef struct { int dummy[10]; } *FAIL_FILE;
extern FAIL_FILE fail_open(); // ERROR - non-local function
typedef struct { int dummy[10]; } *SUCCESS_FILE, S;
extern SUCCESS_FILE success_open();