[cfe-commits] r78959 - /cfe/trunk/test/CodeGenCXX/virt.cpp

Mike Stump mrs at apple.com
Thu Aug 20 10:43:41 PDT 2009


On Aug 20, 2009, at 10:36 AM, Douglas Gregor wrote:
>> --- cfe/trunk/test/CodeGenCXX/virt.cpp (original)
>> +++ cfe/trunk/test/CodeGenCXX/virt.cpp Thu Aug 13 18:33:29 2009
>> @@ -101,6 +101,14 @@
>> // CEHCK-LP32: .zerofill __DATA, __common, _d6, 2012, 4
>> // CHECK-LP64: .zerofill __DATA, __common, _d6, 2024, 4
>>
>> +struct test7_B2 { virtual void funcB2(); };
>> +struct test7_B1 : virtual test7_B2 { virtual void funcB1(); };
>> +
>> +struct test7_D : test7_B2, virtual test7_B1 {
>> +};
>> +
>> +// CEHCK-LP32: .zerofill __DATA, __common, _d7, 8, 3
>
> Typo here (it happens twice in this test case).

$ grep comm test/CodeGenCXX/virt.cpp  | sort | uniq -c
    1 // CEHCK-LP32: .zerofill __DATA, __common, _d6, 2012, 4
    1 // CEHCK-LP32: .zerofill __DATA, __common, _d7, 8, 3
    1 // CHECK-LP64: .zerofill __DATA, __common, _d6, 2024, 4
    1 // CHECK-LP64: .zerofill __DATA, __common, _d7, 16, 3

Nothing appears twice?  :-)



More information about the cfe-commits mailing list