1# RUN: not llvm-mc -triple i386-linux-gnu -filetype asm -o /dev/null 2>&1 %s \
2# RUN:   | FileCheck %s
3
4	.text
5
6function:
7	call external@invalid
8
9# CHECK: error: invalid variant 'invalid'
10# CHECK: 	call external@invalid
11# CHECK:                      ^
12