1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 14:42:11 +02:00

Bug 534332 - Add a testcase involving a function as well

Change-Id: I02c4ec4ab2ece8dee09ba6b27461dc76724ebba8
This commit is contained in:
Nathan Ridge 2018-05-15 20:31:58 -04:00
parent 809aa57076
commit c8b769ead2

View file

@ -312,6 +312,7 @@ public class UnusedSymbolInFileScopeCheckerTest extends CheckerTestCase {
// static void f3() __attribute__((unused));
// static void f4() __attribute__((unused));
// static void f4() __attribute__((unused)) {}
// static void __attribute__((unused)) f5();
public void testAttributeUnused() throws Exception {
loadCodeAndRun(getAboveComment());
checkNoErrors();