pcs_attribute.c: New test.
2018-02-14 Steve Ellcey <sellcey@marvell.com> * gcc.target/aarch64/pcs_attribute.c: New test. From-SVN: r268903
This commit is contained in:
parent
497f281c25
commit
cc2593977b
2 changed files with 11 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
2018-02-14 Steve Ellcey <sellcey@marvell.com>
|
||||
|
||||
* gcc.target/aarch64/pcs_attribute.c: New test.
|
||||
|
||||
2019-02-14 Harald Anlauf <anlauf@gmx.de>
|
||||
|
||||
PR fortran/88248
|
||||
|
|
7
gcc/testsuite/gcc.target/aarch64/pcs_attribute.c
Normal file
7
gcc/testsuite/gcc.target/aarch64/pcs_attribute.c
Normal file
|
@ -0,0 +1,7 @@
|
|||
/* { dg-do compile } */
|
||||
|
||||
/* Test that the assignment of f (with the attribute) to function pointer g
|
||||
(with no attribute) results in an error. */
|
||||
|
||||
__attribute__((aarch64_vector_pcs)) void f(void);
|
||||
void (*g)(void) = f; /* { dg-error "incompatible pointer type" } */
|
Loading…
Add table
Reference in a new issue