]> granicus.if.org Git - clang/commitdiff
This is now passing. Uncomment and close out PR6281.
authorBill Wendling <isanbard@gmail.com>
Thu, 17 Oct 2013 04:13:35 +0000 (04:13 +0000)
committerBill Wendling <isanbard@gmail.com>
Thu, 17 Oct 2013 04:13:35 +0000 (04:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@192869 91177308-0d34-0410-b5e6-96231b3b80d8

test/Sema/warn-unused-function.c

index a334e71e50673a64b0c4f45d0d33601bcf78757c..013b925f89d85c51d28dcb0fd2a013f1fe621cc1 100644 (file)
@@ -12,10 +12,8 @@ int x = sizeof(f0());
 static void f3();
 extern void f3() { } // expected-warning{{unused}}
 
-// FIXME: This will trigger a warning when it should not.
-// Update once PR6281 is fixed.
-//inline static void f4();
-//void f4() { }
+inline static void f4();
+void f4() { } // expected-warning{{unused}}
 
 static void __attribute__((used)) f5() {}
 static void f6();