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
441441
442442 typedef int *my_ptr;
443443
444+typedef int mytype1;
445+typedef int mytype2;
446+
444447 void typedef_test()
445448 {
446449 my_ptr a;
450+ mytype1 mytype2;
447451 int b;
452+
448453 a = &b;
449454 *a = 1234;
450455 printf("typedef:\n");
451456 printf("a=%d\n", *a);
457+ mytype2 = 2;
458+ printf("mytype2=%d\n", mytype2);
452459 }
453460
454461 void 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