diff --git a/test/FrontendC/inline-asm-function.c b/test/FrontendC/inline-asm-function.c new file mode 100644 index 00000000000..b1ce79a5d5c --- /dev/null +++ b/test/FrontendC/inline-asm-function.c @@ -0,0 +1,6 @@ +// RUN: %llvmgcc -S %s -fasm-blocks -o - -O | grep naked +// PR2094 + +asm int f() { + xyz +}