Software: Apache. PHP/5.4.45 

uname -a: Linux webm056.cluster010.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue
Sep 17 08:14:20 UTC 2024 x86_64
 

uid=243112(mycochar) gid=100(users) groups=100(users)  

Safe-mode: OFF (not secure)

/home/mycochar/www/image/photo/gcc-12.3.0/gcc/testsuite/g++.dg/lookup/   drwxr-xr-x
Free 0 B of 0 B (0%)
Your ip: 216.73.216.77 - Server ip: 213.186.33.19
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    

[Enumerate]    [Encoder]    [Tools]    [Proc.]    [FTP Brute]    [Sec.]    [SQL]    [PHP-Code]    [Backdoor Host]    [Back-Connection]    [milw0rm it!]    [PHP-Proxy]    [Self remove]
    


Viewing file:     name-clash11.C (1.96 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
// PR c++/69023 - bitset whose name is used in constant-expression rejected
// Test also verifies the correct evaluation of the expressions with
// -fpermissive.
// { dg-options "-fpermissive" }

#if __cplusplus >= 201103L
#  define ASSERT(e) static_assert (e, #e)
#else
#  define ASSERT(e)                                             \
  do { typedef int asrt[bool(e) ? 1 : -1]; } while (0)
#endif


void test_bitset ()
{
  int x;                        // { dg-message "declared here" }

  {
    struct S {
      int x: sizeof x;          // { dg-warning "changes meaning" }
    };
  }
}

void test_enum ()
{
  // Also exercise (not covered by c++/69023):
  int y;                        // { dg-message "declared here" }
  {
    struct S {
      enum E {
        y = sizeof y            // { dg-warning "9:declaration of .y. changes meaning" }
      };

      // Verify the enumerator has the correct value.
      void test () { ASSERT (y == sizeof (int)); }
    };
  }
}

void test_alignas ()
{
  enum { A = 16 };              // { dg-message "declared here" }
  {
    struct S {
#if __cplusplus >= 201103L
      alignas (A)
#else
      __attribute__ ((aligned (A)))
#endif
      int A;                    // { dg-warning "changes meaning" }

      // Verify the member has the correct alignment.
      void test () { ASSERT (__alignof__ (this->A) == 16); }
    };
  }
}

void test_array ()
{
  enum { A = 16 };              // { dg-message "declared here" }
  {
    struct S {
      int A [A];                // { dg-warning "changes meaning" }

      // Verify the member has the correct alignment.
      void test () { ASSERT (sizeof (this->A) == 16 * sizeof (int)); }
    };
  } 
}

void test_vector ()
{
  enum { A = 16 };              // { dg-message "declared here" }
  {
    struct S {
      int A __attribute__ ((vector_size (A))); // { dg-warning "changes meaning" }

      // Verify the member has the correct size.
      void test () { ASSERT (sizeof (this->A) == 16); }
    };
  } 
}
 

Enter:
 
Select:
 

Useful Commands
 
Warning. Kernel may be alerted using higher levels
Kernel Info:

Php Safe-Mode Bypass (Read Files)

File:

eg: /etc/passwd

Php Safe-Mode Bypass (List Directories):

Dir:

eg: /etc/

Search
  - regexp 

Upload
 
[ ok ]

Make Dir
 
[ ok ]
Make File
 
[ ok ]

Go Dir
 
Go File
 

--[ x2300 Locus7Shell v. 1.0a beta Modded by #!physx^ | www.LOCUS7S.com | Generation time: 0.0052 ]--