summaryrefslogtreecommitdiffstats
path: root/gcc/testsuite/gcc.target/avr/torture/builtins-error.c
blob: 692b8afd859833c9c00b8ba767430363aa7b9300 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* { dg-do assemble } */

char insert (long a)
{
    return __builtin_avr_insert_bits (15.3f+a, 0, 0); /* { dg-error "expects a compile time" } */
}

void delay (long a)
{
    __builtin_avr_delay_cycles (a); /* { dg-error "expects a compile time" } */
}
OpenPOWER on IntegriCloud