mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 22:52:11 +02:00
Bug 534332 - Add a testcase involving a function as well
Change-Id: I02c4ec4ab2ece8dee09ba6b27461dc76724ebba8
This commit is contained in:
parent
809aa57076
commit
c8b769ead2
1 changed files with 1 additions and 0 deletions
|
@ -312,6 +312,7 @@ public class UnusedSymbolInFileScopeCheckerTest extends CheckerTestCase {
|
||||||
// static void f3() __attribute__((unused));
|
// static void f3() __attribute__((unused));
|
||||||
// static void f4() __attribute__((unused));
|
// static void f4() __attribute__((unused));
|
||||||
// static void f4() __attribute__((unused)) {}
|
// static void f4() __attribute__((unused)) {}
|
||||||
|
// static void __attribute__((unused)) f5();
|
||||||
public void testAttributeUnused() throws Exception {
|
public void testAttributeUnused() throws Exception {
|
||||||
loadCodeAndRun(getAboveComment());
|
loadCodeAndRun(getAboveComment());
|
||||||
checkNoErrors();
|
checkNoErrors();
|
||||||
|
|
Loading…
Add table
Reference in a new issue