diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2009-05-27 22:48:34 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2009-05-27 22:48:34 +0000 |
commit | 2073fd555f714e9632d70e9c5a88d140930aeadb (patch) | |
tree | 2f91f56e85e491f13699c0498a22dbc6163b665d /test | |
parent | 896ccf83eb1a575d596fe757a9b259429ce7ab16 (diff) |
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
Diffstat (limited to 'test')
-rw-r--r-- | test/Sema/gnu89.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Sema/gnu89.c b/test/Sema/gnu89.c new file mode 100644 index 0000000000..4601cbe93f --- /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); |