History

multiple typedef test

bellard committed 20 years ago

Commit 365d0ad1 parent 52b72541 file · +7 −0Browse files

Unified · Split

tcctest.c+7−0
@@ -441,14 +441,21 @@ void enum_test() · 440 unmodified lines
441 441
442typedef int *my_ptr;442typedef int *my_ptr;
443 443
444typedef int mytype1;
445typedef int mytype2;
446
444void typedef_test()447void typedef_test()
445{448{
446 my_ptr a;449 my_ptr a;
450 mytype1 mytype2;
447 int b;451 int b;
452
448 a = &b;453 a = &b;
449 *a = 1234;454 *a = 1234;
450 printf("typedef:\n");455 printf("typedef:\n");
451 printf("a=%d\n", *a);456 printf("a=%d\n", *a);
457 mytype2 = 2;
458 printf("mytype2=%d\n", mytype2);
452}459}
453 460
454void forward_test()461void forward_test()

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t