source:
doc/theses/jiada_liang_MMath/test20.cfa
@
5f210c0
Last change on this file since 5f210c0 was 1725989, checked in by , 5 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.