diff options
Diffstat (limited to 'lld/test/ELF/version-script-err.s')
| -rw-r--r-- | lld/test/ELF/version-script-err.s | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lld/test/ELF/version-script-err.s b/lld/test/ELF/version-script-err.s index 15b69e98505..4df15d59265 100644 --- a/lld/test/ELF/version-script-err.s +++ b/lld/test/ELF/version-script-err.s @@ -8,3 +8,8 @@ // RUN: not ld.lld --version-script %terr1.script -shared %t.o -o %t.so 2>&1 | \ // RUN: FileCheck -check-prefix=ERR1 %s // ERR1: unclosed quote + +// RUN: echo "VERSION { extern "C++" {}; }; " > %terr2.script +// RUN: not ld.lld --version-script %terr2.script -shared %t.o -o %t.so 2>&1 | \ +// RUN: FileCheck -check-prefix=ERR2 %s +// ERR2: extern keyword is not supported |

