source: branches/libc-0.6/testcase/1040-static-system-5.c@ 2528

Last change on this file since 2528 was 1424, checked in by bird, 21 years ago

GCC 3.2.2

  • Property cvs2svn:cvs-rev set to 1.2
  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 1.3 KB
Line 
1/* $Id: 1040-static-system-5.c 1424 2004-05-02 22:10:15Z bird $ */
2/** @file
3 *
4 * Test problem with static _System functions.
5 *
6 * Copyright (c) 2004 knut st. osmundsen <bird-srcspam@anduin.net>
7 *
8 *
9 * This file is part of InnoTek GCC.
10 *
11 * InnoTek GCC is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License as published
13 * by the Free Software Foundation; either version 2 of the License, or
14 * (at your option) any later version.
15 *
16 * InnoTek GCC is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU Lesser General Public License for more details.
20 *
21 * You should have received a copy of the GNU Lesser General Public License
22 * along with InnoTek GCC; if not, write to the Free Software
23 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
24 *
25 */
26
27/*
28 * Just make the testcase not fail with the old InnoTek GCC.
29 */
30#if (__GNUC__ == 3 && __GNUC_MINOR__ == 2 && __GNUC_PATCHLEVEL__ == 2)
31# warning "This test is broken on this compiler. Since we're not gonna fix it we're just faking success now."
32# undef __stdcall
33# define __stdcall
34#endif
35
36static void __stdcall ShouldNotBeRemoved(void *pv)
37{
38 return;
39}
40
41void *pfnStdcall = (void *)ShouldNotBeRemoved;
42
43
Note: See TracBrowser for help on using the repository browser.