]> andersk Git - splint.git/commitdiff
Added files to the repository.
authordrl7x <drl7x>
Thu, 1 Mar 2001 23:56:53 +0000 (23:56 +0000)
committerdrl7x <drl7x>
Thu, 1 Mar 2001 23:56:53 +0000 (23:56 +0000)
test/sizeoftest/sizeof.c [new file with mode: 0644]

diff --git a/test/sizeoftest/sizeof.c b/test/sizeoftest/sizeof.c
new file mode 100644 (file)
index 0000000..8e38d41
--- /dev/null
@@ -0,0 +1,9 @@
+int main()
+{
+char x[3];
+char y[3];
+
+ x[(sizeof x)] = 'i';
+y[((sizeof y) - 1)] = '0';
+return 0;
+}
This page took 0.066064 seconds and 5 git commands to generate.