source:
doc/theses/jiada_liang_MMath/test20.cfa
@
dc1c430
Last change on this file since dc1c430 was 1725989, checked in by , 2 months ago | |
---|---|
|
|
File size: 184 bytes |
Line | |
---|---|
1 | int main() { |
2 | // enum { X = 3, Y = 3.5 }; |
3 | // enum(char *) { Z = "abc" }; |
4 | enum { X = 3, Y = 3.5, Z = "abc" }; |
5 | |
6 | int i = X; |
7 | double d = Y; |
8 | printf( "%g\n", d ); |
9 | const char * str = Z; |
10 | } |
Note: See TracBrowser
for help on using the repository browser.