Extend test to show an alias can be before a definition.

llvm-svn: 193099
This commit is contained in:
Rafael Espindola 2013-10-21 18:24:30 +00:00
parent b745eec4e4
commit 4517d59880
1 changed files with 2 additions and 1 deletions

View File

@ -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)]] ();