diff options
-rw-r--r-- | test/Analysis/dead-stores.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Analysis/dead-stores.c b/test/Analysis/dead-stores.c index 8e44717299..c151057096 100644 --- a/test/Analysis/dead-stores.c +++ b/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) +} + |