diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2014-11-24 09:15:30 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2014-11-24 09:15:30 +0000 |
commit | 9f4dbff6669c8037f3b036bcf580d14f1a4f12a5 (patch) | |
tree | 47df2c12b57214af6c31e47404b005675b8b7ffc /test/Modules/Inputs/c-header-bad.h | |
parent | f73d5f23a889b93d89ddef61ac0995df40286bb8 (diff) |
Notes
Diffstat (limited to 'test/Modules/Inputs/c-header-bad.h')
-rw-r--r-- | test/Modules/Inputs/c-header-bad.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Modules/Inputs/c-header-bad.h b/test/Modules/Inputs/c-header-bad.h new file mode 100644 index 0000000000000..7f7cd8701ee0a --- /dev/null +++ b/test/Modules/Inputs/c-header-bad.h @@ -0,0 +1,4 @@ +} // expected-error {{extraneous closing brace ('}')}} +int not_in_extern_c; +extern "C" { // expected-note {{to match this '{'}} +// expected-error {{expected '}'}} |