commit | 8b29a387788bbb7a7c3b64c37473bc46299d2132 | [log] [tgz] |
---|---|---|
author | Daniel Dunbar <daniel@zuster.org> | Wed Feb 04 07:22:24 2009 +0000 |
committer | Daniel Dunbar <daniel@zuster.org> | Wed Feb 04 07:22:24 2009 +0000 |
tree | e22452087d5ea06b52676fc72b6fabf62d965cd5 | |
parent | 137b6a6149c53dbbcb8fba98e524d9ad0f3c8736 [diff] [blame] |
Handle demotion of coerced arguments (as in void a(x) short x; { ... }). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63726 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Coverage/c-language-features.inc b/test/Coverage/c-language-features.inc index 9a52e56..8b56e6a 100644 --- a/test/Coverage/c-language-features.inc +++ b/test/Coverage/c-language-features.inc
@@ -144,3 +144,14 @@ const char *s1 = __FUNCTION__; const char *s2 = __PRETTY_FUNCTION__; } + +// Arg mismatch with passed type. +void f7(x) + float x; +{ +} + +void f8(x) + short x; +{ +}