gcc/testsuite/gcc.target/avr/torture/pr114132-2.c
raw| 1 | /* { dg-do run } */ |
| 2 | /* { dg-additional-options "-std=c99" } */ |
| 3 | |
| 4 | __attribute__((noipa)) |
| 5 | #ifdef __AVR_TINY__ |
| 6 | int func (int a, int b, char c) |
| 7 | #else |
| 8 | int func (long long a, long long b, char c) |
| 9 | #endif |
| 10 | { |
| 11 | (void) a; |
| 12 | (void) b; |
| 13 | return 10 + c; |
| 14 | } |
| 15 | |
| 16 | int main (void) |
| 17 | { |
| 18 | if (func (0, 0, 91) != 101) |
| 19 | __builtin_abort(); |
| 20 | return 0; |
| 21 | } |
| 22 |