Add new test.
This commit is contained in:
parent
c6a6b07331
commit
4962000a12
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.1 2010/07/18 10:11:01 jmmv Exp $
|
||||
# $NetBSD: Makefile,v 1.2 2011/10/04 16:24:27 christos Exp $
|
||||
|
||||
NOMAN= # defined
|
||||
|
||||
|
@ -20,6 +20,7 @@ FILES+= d_c99_union_init2.c
|
|||
FILES+= d_c99_union_init3.c
|
||||
FILES+= d_c9x_array_init.c
|
||||
FILES+= d_c9x_recursive_init.c
|
||||
FILES+= d_c99_decls_after_stmt.c
|
||||
FILES+= d_cast_init.c
|
||||
FILES+= d_cast_init2.c
|
||||
FILES+= d_cast_lhs.c
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
void sample(void)
|
||||
{
|
||||
int i = 0; i += 1;
|
||||
int j = 0; i += 1;
|
||||
}
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: t_integration.sh,v 1.2 2011/03/25 19:19:46 njoly Exp $
|
||||
# $NetBSD: t_integration.sh,v 1.3 2011/10/04 16:24:27 christos Exp $
|
||||
#
|
||||
# Copyright (c) 2008, 2010 The NetBSD Foundation, Inc.
|
||||
# All rights reserved.
|
||||
|
@ -81,6 +81,7 @@ test_case check_valid c99_func "Checks C99 __func__"
|
|||
test_case check_valid gcc_variable_array_init "Checks GCC variable array" \
|
||||
"initializers"
|
||||
test_case check_valid c9x_array_init "Checks C9X array initializers"
|
||||
test_case check_valid c99_decls_after_stmt "Checks C99 decls after statements"
|
||||
test_case check_valid nolimit_init "Checks no limit initializers"
|
||||
test_case check_valid zero_sized_arrays "Checks zero sized arrays"
|
||||
|
||||
|
|
Loading…
Reference in New Issue