forked from OSchip/llvm-project
Extend test to show an alias can be before a definition.
llvm-svn: 193099
This commit is contained in:
parent
b745eec4e4
commit
4517d59880
|
@ -11,8 +11,9 @@ int *[[gnu::unused]] attr_on_ptr;
|
|||
|
||||
// Valid cases.
|
||||
|
||||
void aliasb [[gnu::alias("_Z6alias1v")]] ();
|
||||
void alias1() {}
|
||||
void alias2 [[gnu::alias("_Z6alias1v")]] ();
|
||||
void aliasa [[gnu::alias("_Z6alias1v")]] ();
|
||||
|
||||
[[gnu::aligned(8)]] int aligned;
|
||||
void aligned_fn [[gnu::aligned(32)]] ();
|
||||
|
|
Loading…
Reference in New Issue