commit | 2073fd555f714e9632d70e9c5a88d140930aeadb | [log] [tgz] |
---|---|---|
author | Eli Friedman <eli.friedman@gmail.com> | Wed May 27 22:48:34 2009 +0000 |
committer | Eli Friedman <eli.friedman@gmail.com> | Wed May 27 22:48:34 2009 +0000 |
tree | 2f91f56e85e491f13699c0498a22dbc6163b665d | |
parent | 896ccf83eb1a575d596fe757a9b259429ce7ab16 [diff] [blame] |
restrict is not a keyword in gnu89 mode. Change TokenKinds.def to reflect that. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72500 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Sema/gnu89.c b/test/Sema/gnu89.c new file mode 100644 index 0000000..4601cbe --- /dev/null +++ b/test/Sema/gnu89.c
@@ -0,0 +1,3 @@ +// RUN: clang-cc %s -std=gnu89 -pedantic -fsyntax-only -verify + +int f(int restrict);