forked from Imagelibrary/binutils-gdb
2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/complex.c: Include <stdlib.h>.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* Copyright 2002, 2003
|
||||
/* Copyright 2002, 2003, 2004
|
||||
Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GDB.
|
||||
@@ -21,6 +21,8 @@
|
||||
/* Test taken from GCC. Verify that we can print a structure containing
|
||||
a complex number. */
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
typedef __complex__ float cf;
|
||||
struct x { char c; cf f; } __attribute__ ((__packed__));
|
||||
struct unpacked_x { char c; cf f; };
|
||||
|
||||
Reference in New Issue
Block a user