mirror of
https://github.com/nim-lang/Nim.git
synced 2026-08-26 08:31:44 +00:00
TinyC upgrade (#6593)
This commit is contained in:
committed by
Andreas Rumpf
parent
9c00f6decd
commit
d2c7d391c8
13
tinyc/tests/tests2/29_array_address.c
Normal file
13
tinyc/tests/tests2/29_array_address.c
Normal file
@@ -0,0 +1,13 @@
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
int main()
|
||||
{
|
||||
char a[10];
|
||||
strcpy(a, "abcdef");
|
||||
printf("%s\n", &a[1]);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* vim: set expandtab ts=4 sw=3 sts=3 tw=80 :*/
|
||||
Reference in New Issue
Block a user