mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-09-09 03:23:07 +02:00
Moved testU8TokenAfterIfdef_429361 to AST2Tests
This commit is contained in:
parent
79dc0b8184
commit
103f577926
2 changed files with 10 additions and 10 deletions
|
@ -10568,13 +10568,4 @@ public class AST2CPPTests extends AST2TestBase {
|
||||||
public void testParenthesizedReferenceArgument_424898() throws Exception {
|
public void testParenthesizedReferenceArgument_424898() throws Exception {
|
||||||
parseAndCheckBindings();
|
parseAndCheckBindings();
|
||||||
}
|
}
|
||||||
|
|
||||||
// typedef unsigned char u8;
|
|
||||||
//
|
|
||||||
// #ifndef X
|
|
||||||
// u8 var;
|
|
||||||
// #endif
|
|
||||||
public void testU8TokenAfterIfdef_429361() throws Exception {
|
|
||||||
parseAndCheckBindings();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
* Copyright (c) 2004, 2013 IBM Corporation and others.
|
* Copyright (c) 2004, 2014 IBM Corporation and others.
|
||||||
* All rights reserved. This program and the accompanying materials
|
* All rights reserved. This program and the accompanying materials
|
||||||
* are made available under the terms of the Eclipse Public License v1.0
|
* are made available under the terms of the Eclipse Public License v1.0
|
||||||
* which accompanies this distribution, and is available at
|
* which accompanies this distribution, and is available at
|
||||||
|
@ -7539,4 +7539,13 @@ public class AST2Tests extends AST2TestBase {
|
||||||
// 7 characters for "foobar" + the null terminator.
|
// 7 characters for "foobar" + the null terminator.
|
||||||
assertEquals(7, f.getTemplateArguments()[0].getNonTypeValue().numericalValue().longValue());
|
assertEquals(7, f.getTemplateArguments()[0].getNonTypeValue().numericalValue().longValue());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// typedef unsigned char u8;
|
||||||
|
//
|
||||||
|
// #ifndef X
|
||||||
|
// u8 var;
|
||||||
|
// #endif
|
||||||
|
public void testU8TokenAfterIfdef_429361() throws Exception {
|
||||||
|
parseAndCheckBindings();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue