diff options
author | Vivian Kong | 2006-11-06 15:43:39 +0000 |
---|---|---|
committer | Vivian Kong | 2006-11-06 15:43:39 +0000 |
commit | b38a103a8eb8ff031cd2cdcb120238cc472957f7 (patch) | |
tree | 29b556ec37d03594c99c693579dec79b1faa6b0d /core/org.eclipse.cdt.core.tests/resources/pdomtests/functionTests | |
parent | df871fe06bd1191491f65b19014fc27782320263 (diff) | |
download | org.eclipse.cdt-b38a103a8eb8ff031cd2cdcb120238cc472957f7.tar.gz org.eclipse.cdt-b38a103a8eb8ff031cd2cdcb120238cc472957f7.tar.xz org.eclipse.cdt-b38a103a8eb8ff031cd2cdcb120238cc472957f7.zip |
Bug 161609 - more testcases for PDOM/index
Diffstat (limited to 'core/org.eclipse.cdt.core.tests/resources/pdomtests/functionTests')
-rw-r--r-- | core/org.eclipse.cdt.core.tests/resources/pdomtests/functionTests/declarations.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/core/org.eclipse.cdt.core.tests/resources/pdomtests/functionTests/declarations.c b/core/org.eclipse.cdt.core.tests/resources/pdomtests/functionTests/declarations.c new file mode 100644 index 00000000000..a5da131066c --- /dev/null +++ b/core/org.eclipse.cdt.core.tests/resources/pdomtests/functionTests/declarations.c @@ -0,0 +1,21 @@ +void forwardCDeclaration(); + +void normalCDeclaration1() { + forwardCDeclaration(); +} + +void normalCDeclaration2() { + normalCDeclaration1(); +} + +void forwardCDeclaration() { + normalCDeclaration2(); +} + +void spin() { + normalCDeclaration1(); + normalCDeclaration2(); + normalCDeclaration2(); + forwardCDeclaration(); +} + |