summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/ext/asmspec1.C
blob: 0661136feccec34222072aea1d19773fbeeedf61 (plain)
1
2
3
4
5
6
7
8
// PR c++/28343
// { dg-do compile }

struct A
{
  int i __asm__(int);         // { dg-error "expected" }
  static int j __asm__(int);  // { dg-error "expected" }
};