summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergey Prigogin2012-02-11 20:10:24 -0500
committerSergey Prigogin2012-02-11 20:12:06 -0500
commitaa4eae00dd3a136b915bdfa5891965a66ee820f4 (patch)
tree5bba1335b22b72090e5045a02bc64ac0dcf7a585
parent1548edd7e57470d841cb37f6b8f99397adedb063 (diff)
downloadorg.eclipse.cdt-aa4eae00dd3a136b915bdfa5891965a66ee820f4.tar.gz
org.eclipse.cdt-aa4eae00dd3a136b915bdfa5891965a66ee820f4.tar.xz
org.eclipse.cdt-aa4eae00dd3a136b915bdfa5891965a66ee820f4.zip
Fixed a broken test.
-rw-r--r--codan/org.eclipse.cdt.codan.core.test/src/org/eclipse/cdt/codan/core/internal/checkers/ClassMembersInitializationCheckerTest.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/codan/org.eclipse.cdt.codan.core.test/src/org/eclipse/cdt/codan/core/internal/checkers/ClassMembersInitializationCheckerTest.java b/codan/org.eclipse.cdt.codan.core.test/src/org/eclipse/cdt/codan/core/internal/checkers/ClassMembersInitializationCheckerTest.java
index 9ae480af84..90a4334324 100644
--- a/codan/org.eclipse.cdt.codan.core.test/src/org/eclipse/cdt/codan/core/internal/checkers/ClassMembersInitializationCheckerTest.java
+++ b/codan/org.eclipse.cdt.codan.core.test/src/org/eclipse/cdt/codan/core/internal/checkers/ClassMembersInitializationCheckerTest.java
@@ -182,10 +182,11 @@ public class ClassMembersInitializationCheckerTest extends CheckerTestCase {
// T1 t1;
// T2 t2;
// };
- // C::C() : i1(0), t1(T1()) {} // 1 warning for: i2.
+ // template <typename T1, typename T2>
+ // C<T1,T2>::C() : i1(0), t1(T1()) {} // 1 warning for: i2.
public void testExternalConstructorOfTemplateClassHandling() {
loadCodeAndRun(getAboveComment());
- checkErrorLines(8);
+ checkErrorLines(9);
}
// class C {