constexpr-attribute2.C: Restrict to target init_priority.
authorMarc Glisse <marc.glisse@inria.fr>
Thu, 6 Feb 2014 15:32:27 +0000 (16:32 +0100)
committerMarc Glisse <glisse@gcc.gnu.org>
Thu, 6 Feb 2014 15:32:27 +0000 (15:32 +0000)
2014-02-06  Marc Glisse  <marc.glisse@inria.fr>

* g++.dg/cpp0x/constexpr-attribute2.C: Restrict to target
init_priority. Test alignment of variable instead of function.

From-SVN: r207561

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/constexpr-attribute2.C

index ef4a72e..80892ee 100644 (file)
@@ -1,3 +1,8 @@
+2014-02-06  Marc Glisse  <marc.glisse@inria.fr>
+
+       * g++.dg/cpp0x/constexpr-attribute2.C: Restrict to target
+       init_priority. Test alignment of variable instead of function.
+
 2014-02-06  Marek Polacek  <polacek@redhat.com>
 
        PR c/60087
        PR ipa/59831
        * g++.dg/ipa/devirt-24.C: New testcase.
 
->>>>>>> .r207518
 2014-02-03  Marc Glisse  <marc.glisse@inria.fr>
 
        PR c++/53017
index 755188e..97fc3ef 100644 (file)
@@ -1,3 +1,4 @@
+// { dg-do compile { target init_priority } }
 // { dg-options -std=gnu++11 }
 
 struct t { t(); };
@@ -29,4 +30,4 @@ typedef char vec __attribute__((vector_size(size)));
 
 void f(char*) __attribute__((nonnull(pos)));
 
-void g() __attribute__((aligned(size)));
+char g __attribute__((aligned(size)));