blob: 91cbcaac21d445d1839e36ba8eb621a3120276bf [file] [log] [blame]
/* { dg-do compile } */
/* { dg-skip-if "" { *-*-* } { "-fno-fat-lto-objects" } } */
/* { dg-options "-march=rv64gc -O2 -mabi=lp64" } */
long foo() __attribute__((target("arch=rv64gc_zba;;"))); /* { dg-error "malformed" } */
long foo(long a, long b){
return a + (b * 2);
}
long bar(long a, long b){
return a + (b * 2);
}