mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 10:42:39 +01:00
TripleTest.FileFormat: check non-default value
Triple::objectFormat defaults to an Elf format. Changing objectFormat to Elf doesn't make any difference. llvm-svn: 294104
This commit is contained in:
parent
b3b4315a84
commit
346fae03fe
@ -970,6 +970,9 @@ TEST(TripleTest, FileFormat) {
|
||||
Triple T = Triple("");
|
||||
T.setObjectFormat(Triple::ELF);
|
||||
EXPECT_EQ(Triple::ELF, T.getObjectFormat());
|
||||
|
||||
T.setObjectFormat(Triple::MachO);
|
||||
EXPECT_EQ(Triple::MachO, T.getObjectFormat());
|
||||
}
|
||||
|
||||
TEST(TripleTest, NormalizeWindows) {
|
||||
|
Loading…
Reference in New Issue
Block a user