mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Updated TranslationUnitTests to not include K&R
This commit is contained in:
parent
c55ebd35d1
commit
d6a7d069a1
3 changed files with 5 additions and 6 deletions
|
@ -1,3 +1,6 @@
|
||||||
|
2003-08-25 John Camelon
|
||||||
|
Updated TranslationUnitTests to not include K&R testing.
|
||||||
|
|
||||||
2003-08-25 John Camelon
|
2003-08-25 John Camelon
|
||||||
Added QuickParseASTTests::testBug39530().
|
Added QuickParseASTTests::testBug39530().
|
||||||
|
|
||||||
|
|
|
@ -34,7 +34,7 @@ public class TranslationUnitTests extends TranslationUnitBaseTest {
|
||||||
*/
|
*/
|
||||||
String[] expectedStringList= {"stdio.h", "unistd.h", "func2p",
|
String[] expectedStringList= {"stdio.h", "unistd.h", "func2p",
|
||||||
"globalvar", "myenum", "mystruct", "mystruct_t", "myunion", "mytype",
|
"globalvar", "myenum", "mystruct", "mystruct_t", "myunion", "mytype",
|
||||||
"func1", "func2", "main", "func3", "KRFunction"};
|
"func1", "func2", "main", "func3" };
|
||||||
int[] expectedLines={ 12,14,17,20,23,28,32,35,42,47,53,58,65,70};
|
int[] expectedLines={ 12,14,17,20,23,28,32,35,42,47,53,58,65,70};
|
||||||
/* This is a list of that the types of the above list of elements is
|
/* This is a list of that the types of the above list of elements is
|
||||||
* expected to be.
|
* expected to be.
|
||||||
|
|
|
@ -67,8 +67,4 @@ void func3()
|
||||||
printf("This is not really here\n");
|
printf("This is not really here\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
bool KRFunction( parm1, parm2, parm3 )
|
|
||||||
const char* parm1;
|
|
||||||
int (*parm2)(float);
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue