mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 03:51:18 +00:00
First 0.7 update, removing all deprecated features.
This commit is contained in:
committed by
Christoffer Lerno
parent
cff6697818
commit
2a895ec7be
@@ -117,6 +117,7 @@ fn void testArrays()
|
||||
printf("Pointer to array: %p\nPointer to slice: %p\nPointer to first element of slice: %p\n", z, &y, &y[0]);
|
||||
}
|
||||
|
||||
/*
|
||||
fn void testExpressionBlocks()
|
||||
{
|
||||
int x = {|
|
||||
@@ -142,10 +143,11 @@ fn void testExpressionBlocks()
|
||||
puts("In if");
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
fn void main()
|
||||
{
|
||||
testStruct();
|
||||
testArrays();
|
||||
testExpressionBlocks();
|
||||
// testExpressionBlocks();
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@ struct Overalign
|
||||
double[<33>] x;
|
||||
}
|
||||
|
||||
def Olist = List(<Overalign>);
|
||||
def Olist = List{Overalign};
|
||||
|
||||
fn void main()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user