summaryrefslogtreecommitdiff
path: root/test/Sema/PR2727.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Sema/PR2727.c')
-rw-r--r--test/Sema/PR2727.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Sema/PR2727.c b/test/Sema/PR2727.c
index faf934d947..1b3096f0b5 100644
--- a/test/Sema/PR2727.c
+++ b/test/Sema/PR2727.c
@@ -1,3 +1,6 @@
+// RUN: clang -verify -fsyntax-only -std=c90 %s &&
+// RUN: clang -verify -fsyntax-only -std=c99 %s
+
int f (int x)
{
// sizeof applied to a type should not delete the type.