1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-28 19:35:36 +02:00

Trying to fix an encoding error that's occuring on the build machine.

This commit is contained in:
Doug Schaefer 2007-06-12 03:09:00 +00:00
parent 8987faad57
commit b2059b4a5b
2 changed files with 5 additions and 5 deletions

View file

@ -805,7 +805,7 @@ public class AST2CSpecTest extends AST2SpecBaseTest {
pi = &ncs.mem; // valid
pi = &cs.mem; // violates type constraints for =
pci = &cs.mem; // valid
pi = a[0]; // invalid: a[0] has type const int *
pi = a[0]; // invalid: a[0] has type ''const int *''
}
--End Example]
*/
@ -823,7 +823,7 @@ public class AST2CSpecTest extends AST2SpecBaseTest {
buffer.append("pi = &ncs.mem; // valid\n"); //$NON-NLS-1$
buffer.append("pi = &cs.mem; // violates type constraints for =\n"); //$NON-NLS-1$
buffer.append("pci = &cs.mem; // valid\n"); //$NON-NLS-1$
buffer.append("pi = a[0]; // invalid: a[0] has type ‘‘const int *’’\n"); //$NON-NLS-1$
buffer.append("pi = a[0]; // invalid: a[0] has type ''const int *''\n"); //$NON-NLS-1$
buffer.append("}\n"); //$NON-NLS-1$
parseCandCPP(buffer.toString(), true, 0);
}

View file

@ -2134,9 +2134,9 @@ public class AST2Tests extends AST2BaseTest {
.getName());
}
// test C99: 6.7.5.3-7 A declaration of a parameter as array of type
// shall be adjusted to qualified pointer to
// type, where the type qualifiers (if any) are those specified within the
// test C99: 6.7.5.3-7 A declaration of a parameter as ''array of type''
// shall be adjusted to ''qualified pointer to
// type'', where the type qualifiers (if any) are those specified within the
// [ and ] of the
// array type derivation.
public void testArrayTypeToQualifiedPointerTypeParm() throws Exception {