diff options
author | Eric Christopher <echristo@apple.com> | 2010-04-17 02:26:23 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2010-04-17 02:26:23 +0000 |
commit | 691ebc3f3225542e5abd85e107ebdbec907cf510 (patch) | |
tree | 7b19284bfd9c0bdd2e5d85c36447ea9095b461eb /test/Sema/builtins.c | |
parent | f91e56b63b69e5f257cd2cebc2c0d8a12fe52bbb (diff) |
Consolidate most of the integer constant expression builtin requirement
checking into a single function and use that throughout. Remove some
now unnecessary diagnostics and update tests with now more accurate
diagnostics.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@101610 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Sema/builtins.c')
-rw-r--r-- | test/Sema/builtins.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Sema/builtins.c b/test/Sema/builtins.c index 7b2f2afbd9..dbb308e4de 100644 --- a/test/Sema/builtins.c +++ b/test/Sema/builtins.c @@ -60,7 +60,7 @@ void test11(int X) { break; } - __builtin_eh_return_data_regno(X); // expected-error {{not an integer constant expression}} + __builtin_eh_return_data_regno(X); // expected-error {{argument 0 to '__builtin_eh_return_data_regno' must be a constant integer}} } // PR5062 |