diff options
Diffstat (limited to 'clang')
-rw-r--r-- | clang/test/Analysis/dead-stores.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/test/Analysis/dead-stores.c b/clang/test/Analysis/dead-stores.c index 8e447172997..c151057096e 100644 --- a/clang/test/Analysis/dead-stores.c +++ b/clang/test/Analysis/dead-stores.c @@ -167,3 +167,9 @@ int f19b(void) { // FIXME: Should this case be considered the same as f19? x = 1; return x; } + +void f20(void) { + int x = 1; // no-warning +#pragma unused(x) +} + |