ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
Last change
on this file since 436d7d7 was
436d7d7,
checked in by Peter A. Buhr <pabuhr@…>, 3 years ago
|
first attempt to fix compile-only pragma message that gcc-10/11 quote
|
-
Property mode set to
100644
|
File size:
291 bytes
|
Line | |
---|
1 | //Testing some valid casts of chars |
---|
2 | char f; |
---|
3 | |
---|
4 | void f() { |
---|
5 | char f; |
---|
6 | double f; |
---|
7 | (int)f; |
---|
8 | short f; |
---|
9 | (int)f; |
---|
10 | (void(*)())f; |
---|
11 | // ([long, long double, *[]()])([f, f, f]); |
---|
12 | } |
---|
13 | |
---|
14 | //Dummy main |
---|
15 | int main( int argc, char const * argv[] ) { |
---|
16 | #pragma GCC warning "Compiled" // force non-empty .expect file |
---|
17 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.