aboutsummaryrefslogtreecommitdiff
path: root/test/Sema/c89.c
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-08-28 16:40:32 +0000
committerChris Lattner <sabre@nondot.org>2007-08-28 16:40:32 +0000
commitb23deda7333cfc2316c989d10745c145dfbea6d6 (patch)
tree5c104a95899196294584840c2f62ae69eff79dc3 /test/Sema/c89.c
parent4e6526b2de501f2bbc261fd8017c92c75bd8d8f7 (diff)
warn about long long when in c89 mode.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41543 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Sema/c89.c')
-rw-r--r--test/Sema/c89.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Sema/c89.c b/test/Sema/c89.c
index 57085db644..a78472222a 100644
--- a/test/Sema/c89.c
+++ b/test/Sema/c89.c
@@ -17,3 +17,6 @@ void foo() {
__extension__ int j; /* expected-warning {{mixing declarations and code}} */
}
}
+
+long long x; /* expected-warning {{extension}} */
+