summaryrefslogtreecommitdiffstats
path: root/clang/test/Index/index-attrs.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Index/index-attrs.c')
-rw-r--r--clang/test/Index/index-attrs.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/clang/test/Index/index-attrs.c b/clang/test/Index/index-attrs.c
index a1f1c37faec..d526721f5b2 100644
--- a/clang/test/Index/index-attrs.c
+++ b/clang/test/Index/index-attrs.c
@@ -1,16 +1,16 @@
-// RUN: c-index-test -index-file %s -target armv7-windows-gnu -fdeclspec 2>&1 | FileCheck %s
+// RUN: c-index-test -index-file -check-prefix CHECK %s -target armv7-windows-gnu -fdeclspec
void __declspec(dllexport) export_function(void) {}
-// CHECK: [indexDeclaration]: kind: function | name: export_function | {{.*}} | lang: C
+// CHECK: [indexDeclaraton]: kind: function | name: export_function | {{.*}} | lang: C
// CHECK: <attribute>: attribute(dllexport)
void __attribute__((dllexport)) export_gnu_attribute(void) {}
-// CHECK: [indexDeclaration]: kind: function | name: export_gnu_attribute | {{.*}} | lang: C
+// CHECK: [indexDeclaration] kind: function | name: export_gnu_attribute | {{.*}} | lang: C
// CHECK: <attribute>: attribute(dllexport)
void __declspec(dllimport) import_function(void);
-// CHECK: [indexDeclaration]: kind: function | name: import_function | {{.*}} | lang: C
+// CHECK: [indexDeclaration] kind: function | name: import_function | {{.*}} | lang: C
// CHECK: <attribute>: attribute(dllimport)
void __attribute__((dllimport)) import_gnu_attribute(void);
-// CHECK: [indexDeclaration]: kind: function | name: import_gnu_attribute | {{.*}} | lang: C
+// CHECK: [indexDeclaration] kind: function | name: import_gnu_function | {{.*}} | lang: C
// CHECK: <attribute>: attribute(dllimport)
OpenPOWER on IntegriCloud