diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2013-12-22 00:07:40 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2013-12-22 00:07:40 +0000 |
commit | bfef399519ca9b8a4b4c6b563253bad7e0eeffe0 (patch) | |
tree | df8df0b0067b381eab470a3b8f28d14a552a6340 /test/Sema/warn-unused-function.c | |
parent | 6a0372513edbc473b538d2f724efac50405d6fef (diff) |
Diffstat (limited to 'test/Sema/warn-unused-function.c')
-rw-r--r-- | test/Sema/warn-unused-function.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/test/Sema/warn-unused-function.c b/test/Sema/warn-unused-function.c index a334e71e5067..013b925f89d8 100644 --- a/test/Sema/warn-unused-function.c +++ b/test/Sema/warn-unused-function.c @@ -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(); |