/* Test for prototype followed by old-style definition, as in
dremf-type-compat-1.c but with a non-built-in function. */
/* { dg-do compile } */
/* { dg-options "" } */
float f (float, float);
f
/* Test for warning about old-style function definition. */
/* Origin: Andreas Jaeger */
/* { dg-do compile } */
/* { dg-options "-Wold-style-definition" } */
void
bar (a) int a; { } /
/* Test for old-style definition followed by prototype declaration.
Mismatched qualifiers used to be wrongly forbidden. */
/* Origin: Joseph Myers */
/* { dg-do compile }
# style.tcl --
#
# This demonstration script creates a text widget that illustrates the
# various display styles that may be set for tags.
#
# RCS: @(#) $Id: style.tcl,v 1.2 1998/09/14 18:23:30 stanto
//
// STYLE.RC2 - resources Microsoft Visual C++ does not edit directly
//
#ifdef APSTUDIO_INVOKED
#error this file is not editable by Microsoft Visual C++
#endif //APSTUDIO_INVOKED
/////
Random thoughts on coding style/conventions:
* Hungarian Notation is a crime against programity and I will not
mention it again.
* Scope (not type) prefixes are a different animal, and may be OK.
# Microsoft Developer Studio Project File - Name="Style" - Package Owner=
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) App