mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 04:32:44 +01:00
Fix test to not use the AttributeSet's AttributeWithIndex creation method.
llvm-svn: 173608
This commit is contained in:
parent
d8d5c37332
commit
761ddf3dd9
@ -21,13 +21,13 @@ TEST(Attributes, Uniquing) {
|
||||
Attribute AttrB = Attribute::get(C, Attribute::AlwaysInline);
|
||||
EXPECT_EQ(AttrA, AttrB);
|
||||
|
||||
AttributeWithIndex AWIs[] = {
|
||||
AttributeWithIndex::get(C, 1, Attribute::ZExt),
|
||||
AttributeWithIndex::get(C, 2, Attribute::SExt)
|
||||
AttributeSet ASs[] = {
|
||||
AttributeSet::get(C, 1, Attribute::ZExt),
|
||||
AttributeSet::get(C, 2, Attribute::SExt)
|
||||
};
|
||||
|
||||
AttributeSet SetA = AttributeSet::get(C, AWIs);
|
||||
AttributeSet SetB = AttributeSet::get(C, AWIs);
|
||||
AttributeSet SetA = AttributeSet::get(C, ASs);
|
||||
AttributeSet SetB = AttributeSet::get(C, ASs);
|
||||
EXPECT_EQ(SetA, SetB);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user