aboutsummaryrefslogtreecommitdiff
path: root/test/SemaTemplate/ext-vector-type.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaTemplate/ext-vector-type.cpp')
-rw-r--r--test/SemaTemplate/ext-vector-type.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaTemplate/ext-vector-type.cpp b/test/SemaTemplate/ext-vector-type.cpp
index d6c02bb629ff..b6aebc102fb4 100644
--- a/test/SemaTemplate/ext-vector-type.cpp
+++ b/test/SemaTemplate/ext-vector-type.cpp
@@ -4,7 +4,7 @@ struct make1 {
typedef T __attribute__((ext_vector_type(Length))) type;
};
-int test_make1() {
+void test_make1() {
make1<int, 5>::type x;
x.x = 4;
}