summaryrefslogtreecommitdiffstats
path: root/clang/test
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-02-15 18:02:59 +0000
committerChris Lattner <sabre@nondot.org>2008-02-15 18:02:59 +0000
commit287c7340754ff3a32ca253b33750c363424118cf (patch)
tree5a75a733ffdd057493577e1cfe5a4aa86bf4e7c0 /clang/test
parent9e805b24fd8d33c2cceaa20e811feb5305d288de (diff)
downloadbcm5719-llvm-287c7340754ff3a32ca253b33750c363424118cf.tar.gz
bcm5719-llvm-287c7340754ff3a32ca253b33750c363424118cf.zip
Fix PR2041: restrict is not a keyword in c90.
llvm-svn: 47160
Diffstat (limited to 'clang/test')
-rw-r--r--clang/test/Sema/c89.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/test/Sema/c89.c b/clang/test/Sema/c89.c
index e7568bcb1b7..4c89e82ba2d 100644
--- a/clang/test/Sema/c89.c
+++ b/clang/test/Sema/c89.c
@@ -30,3 +30,6 @@ int test4 = 0LL; /* expected-warning {{long long}} */
/* PR1999 */
void test5(register);
+/* PR2041 */
+int *restrict;
+
OpenPOWER on IntegriCloud