PR c++/51027 - accepts alias-declaration without ';'
[gcc.git] / gcc / testsuite / g++.dg / ext / alias-decl-attr4.C
index c4dd048778964cee4732e5b5b490f3cb0109c073..3e1c1c405db03eb198824ab841b0f4fcf34797c5 100644 (file)
@@ -11,7 +11,7 @@ template <class T> struct A
 template < typename Val > struct S
 {
     using vector_type __attribute__((vector_size(16))) =
-        typename A<Val>::type
+        typename A<Val>::type;
         typedef Val vector_type2 __attribute__((vector_size(16)));
     int pr_size() { return sizeof(vector_type); }
     int pr_size2() { return sizeof(vector_type2); }