summaryrefslogtreecommitdiff
path: root/tests/usr.bin/xlint/lint1/msg_055.c
blob: 4fd65ae21cd24791c03982dd5646a6c8623c7140 (plain)
1
2
3
4
5
6
7
8
9
/*	$NetBSD: msg_055.c,v 1.4 2022/06/15 20:18:31 rillig Exp $	*/
# 3 "msg_055.c"

// Test for message: integral constant expression expected [55]

enum color {
	WHITE = 1.0
};
/* expect-1: error: integral constant expression expected [55] */
eb70279c4f7600220f38398feeb8fedf5'>allocate devices dynamically.christos 2011-09-07Newline is \n, not /n.mbalmer 2011-05-11convert the main raidPtr mutex to a kmutex, and add a couple of cv's tomrg 2011-05-02use a unique wchan identifier for node_queue_cv than the old default.mrg 2011-04-27prepare to convert more raidframe old lock/sleep APIs to mutex/condvar:mrg 2011-04-23move the iodone setup and tear down into rf_engine.c. this fixesmrg 2011-04-23convert the iodone_lock to a mutex, and use a condvar for signalling.mrg 2010-09-13comment out an unused static functiondrochner 2009-11-17Finally commit the RAIDframe parity map Summer Of Code project.jld 2006-11-16__unused removal on arguments; approved by core.christos 2006-10-12- sprinkle __unused on function decls.christos 2005-12-11merge ktrace-lwp.christos 2005-09-25Re-work the handling of incoming I/O in RAIDframe:oster 2005-02-27nuke trailing whitespaceperry 2004-03-09Introduce RF_DEBUG_ENGINE and use it to disable a number of debuggingoster 2004-03-01Use RF_ACC_TRACE to #if out more chunks of code related onlyoster 2004-02-29Adjust _rf_ShutdownCreate() so that it is willing to wait for moreoster 2004-01-02Fix the "We panic if we can't create a DAG" problem that's existedoster 2004-01-01Nuke a bunch of unused variables:oster 2003-12-30Some days you wonder if some of the function declaration consistencyoster 2003-12-29Garbage-collect a whole mess of this RF_THREADGROUP_* stuff that isn'toster 2003-12-29_rf_create_managed_cond() is now left doing nothing. Convert callers.oster 2003-12-29_rf_create_managed_mutex() is doing just a simple:oster 2002-10-04Clean up #includes. Group function prototypes. Fix more 80-column lossageoster 2002-10-04Undo the change from 1.16->1.17, and 1.19->1.20. The ltsleep and lockingoster 2002-10-04Tidy up comments and do some 80-column fixing. No functional changes.oster 2002-10-04As part of the effort to get RAIDframe playing nicely with LOCKDEBUG,oster 2002-10-02Create a thread creation macro that make it easier to name the DAG process.oster 2002-10-02Since we are unlocking the lock before sleeping, there is no needoster 2002-09-23Nuke a couple of unreached 'break's. Thanks (again) to Simon B.oster 2002-09-19Nuke an obsolete comment.oster 2002-09-15Release our hold on raidPtr if we're going to sleep.oster 2002-09-14Everyone and their dog was using RF_ERRORMSG3 to print out the sameoster 2002-07-14Remove incorrect comment.oster 2002-07-13Most folks won't need the DAG printing and verification routines.oster 2002-07-13rf_ValidateDAG isn't something that we want to even consideroster 2001-11-13add RCSIDslukem 2001-09-16Spell 'occurred' with two 'r's.wiz